bugfix: shell escape for scp
This commit is contained in:
parent
4e742d62f4
commit
228b32d473
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue