windows and osx build fixes for recent ByteString conversion work
This commit is contained in:
parent
f0c206cea6
commit
f0b9b46cb2
5 changed files with 8 additions and 6 deletions
|
@ -179,10 +179,10 @@ feedRead cmd params passphrase feeder reader = do
|
|||
go (passphrasefd ++ params)
|
||||
#else
|
||||
-- store the passphrase in a temp file for gpg
|
||||
withTmpFile "gpg" $ \tmpfile h -> do
|
||||
withTmpFile (toOsPath "gpg") $ \tmpfile h -> do
|
||||
liftIO $ B.hPutStr h passphrase
|
||||
liftIO $ hClose h
|
||||
let passphrasefile = [Param "--passphrase-file", File tmpfile]
|
||||
let passphrasefile = [Param "--passphrase-file", File (fromosPath tmpfile)]
|
||||
go $ passphrasefile ++ params
|
||||
#endif
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue