diff options
Diffstat (limited to 'Remotes.hs')
-rw-r--r-- | Remotes.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remotes.hs b/Remotes.hs index b9c1b48f3..b36856b54 100644 --- a/Remotes.hs +++ b/Remotes.hs @@ -217,7 +217,7 @@ copyToRemote r key file = do liftIO $ boolSystem "scp" [src, sshLocation r file] sshLocation :: Git.Repo -> FilePath -> FilePath -sshLocation r file = (Git.urlHost r) ++ ":" ++ file +sshLocation r file = (Git.urlHost r) ++ ":" ++ shellEscape file {- Runs a command in a remote. -} runCmd :: Git.Repo -> String -> [String] -> Annex Bool |