fix windows build
This commit is contained in:
parent
54b74ef8db
commit
c27d9f909b
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ feedRead params passphrase feeder reader = do
|
||||||
#else
|
#else
|
||||||
-- store the passphrase in a temp file for gpg
|
-- store the passphrase in a temp file for gpg
|
||||||
withTmpFile "gpg" $ \tmpfile h -> do
|
withTmpFile "gpg" $ \tmpfile h -> do
|
||||||
hPutStr h passphrase
|
liftIO $ hPutStr h passphrase
|
||||||
hClose h
|
liftIO $ hClose h
|
||||||
let passphrasefile = [Param "--passphrase-file", File tmpfile]
|
let passphrasefile = [Param "--passphrase-file", File tmpfile]
|
||||||
go $ passphrasefile ++ params
|
go $ passphrasefile ++ params
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue