diff options
Diffstat (limited to 'Backend/SHA1.hs')
-rw-r--r-- | Backend/SHA1.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/SHA1.hs b/Backend/SHA1.hs index e1830bc13..a7f592b73 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" [utilityEscape file] $ \h -> do + liftIO $ pOpen ReadFromPipe "sha1sum" (toShell [File file]) $ \h -> do line <- hGetLine h let bits = split " " line if null bits |