OsPath transition Windows build fixes
This gets it building on Windows again, with 1 test suite failure (addurl). Sponsored-by: Kevin Mueller
This commit is contained in:
parent
9dc43396b3
commit
a149336a59
23 changed files with 58 additions and 62 deletions
|
@ -159,7 +159,7 @@ feedRead cmd subcmd params password emptydirectory feeder reader = do
|
|||
go (Just emptydirectory) (passwordfd ++ params)
|
||||
#else
|
||||
-- store the password in a temp file
|
||||
withTmpFile (toOsPath "sop") $ \tmpfile h -> do
|
||||
withTmpFile (literalOsPath "sop") $ \tmpfile h -> do
|
||||
liftIO $ B.hPutStr h password
|
||||
liftIO $ hClose h
|
||||
let passwordfile = [Param $ "--with-password=" ++ fromOsPath tmpfile]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue