From 883395c399a0996d825711c6d8f29aa49ed07a69 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 30 Mar 2013 18:55:22 -0400 Subject: let's use words and unwords rather than split and intercalate " " --- Command/SendKey.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/SendKey.hs') diff --git a/Command/SendKey.hs b/Command/SendKey.hs index 42a0377a3..d0e89aef9 100644 --- a/Command/SendKey.hs +++ b/Command/SendKey.hs @@ -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) -- cgit v1.2.3