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
|
@ -163,7 +163,7 @@ feedRead cmd subcmd params password emptydirectory feeder reader = do
|
|||
withTmpFile (toOsPath "sop") $ \tmpfile h -> do
|
||||
liftIO $ B.hPutStr h password
|
||||
liftIO $ hClose h
|
||||
let passwordfile = [Param $ "--with-password="++tmpfile]
|
||||
let passwordfile = [Param $ "--with-password=" ++ fromOsPath tmpfile]
|
||||
-- Don't need to pass emptydirectory since @FD is not used,
|
||||
-- and so tmpfile also does not need to be made absolute.
|
||||
case emptydirectory of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue