summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-06 21:12:45 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-06 21:12:45 -0400
commit55b92860ceb099614ac9ebe4c37e92b57ad6a430 (patch)
tree89c3860e69ae235174ff8262c8dbd7b5ef36f3db
parent8156af90edc27c041bd1c22d8401aff21f4b8947 (diff)
bigfix: doubled shell escape
-rw-r--r--Remotes.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Remotes.hs b/Remotes.hs
index 7bb1bcd22..280543968 100644
--- a/Remotes.hs
+++ b/Remotes.hs
@@ -94,8 +94,7 @@ inAnnex r key = do
Annex.eval a (Core.inAnnex key)
checkremote = do
Core.showNote ("checking " ++ Git.repoDescribe r ++ "...")
- inannex <- runCmd r "test"
- [ "-e", (shellEscape $ annexLocation r key)]
+ inannex <- runCmd r "test" ["-e", annexLocation r key]
-- XXX Note that ssh failing and the file not existing
-- are not currently differentiated.
return $ Right inannex