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
|
||||
-- store the passphrase in a temp file for gpg
|
||||
withTmpFile "gpg" $ \tmpfile h -> do
|
||||
hPutStr h passphrase
|
||||
hClose h
|
||||
liftIO $ hPutStr h passphrase
|
||||
liftIO $ hClose h
|
||||
let passphrasefile = [Param "--passphrase-file", File tmpfile]
|
||||
go $ passphrasefile ++ params
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue