summaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-28 16:25:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-28 16:25:31 -0400
commit4cd96ad2db0867ef7450215d3de7afcf748d7088 (patch)
tree4dd077502002f5cc476fb9ed0edeee2c1fb25930 /Backend
parentfcdc4797a9ab2b792a9bb20f2ca9802b8f6d5a1e (diff)
rename
Diffstat (limited to 'Backend')
-rw-r--r--Backend/SHA1.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/SHA1.hs b/Backend/SHA1.hs
index a7f592b73..22bc493b7 100644
--- a/Backend/SHA1.hs
+++ b/Backend/SHA1.hs
@@ -32,7 +32,7 @@ backend = Backend.File.backend {
sha1 :: FilePath -> Annex String
sha1 file = do
showNote "checksum..."
- liftIO $ pOpen ReadFromPipe "sha1sum" (toShell [File file]) $ \h -> do
+ liftIO $ pOpen ReadFromPipe "sha1sum" (toCommand [File file]) $ \h -> do
line <- hGetLine h
let bits = split " " line
if null bits