let's use words and unwords rather than split and intercalate " "

This commit is contained in:
Joey Hess 2013-03-30 18:55:22 -04:00
parent 5ed67562f6
commit 553e9dc736
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ seek = [withKeys start]
start :: Key -> CommandStart
start key = do
(opts,_,_) <- getOpt Permute rsyncSafeOptions <$>
maybe [] (split " ") <$> getField "RsyncOptions"
maybe [] words <$> getField "RsyncOptions"
ifM (inAnnex key)
( fieldTransfer Upload key $ \_p ->
sendAnnex key rollback $ liftIO . rsyncServerSend (map Param opts)