bigfix: doubled shell escape

This commit is contained in:
Joey Hess 2010-11-06 21:12:45 -04:00
parent 8156af90ed
commit 55b92860ce

View file

@ -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