build fix
This commit is contained in:
parent
9e69fca5bb
commit
96613e85a9
1 changed files with 3 additions and 1 deletions
|
@ -221,7 +221,9 @@ rsyncSend o callback k canrename src = withRsyncScratchDir $ \tmp -> do
|
||||||
let dest = tmp </> Prelude.head (keyPaths k)
|
let dest = tmp </> Prelude.head (keyPaths k)
|
||||||
liftIO $ createDirectoryIfMissing True $ parentDir dest
|
liftIO $ createDirectoryIfMissing True $ parentDir dest
|
||||||
ok <- if canrename
|
ok <- if canrename
|
||||||
then liftIO $ renameFile src dest
|
then do
|
||||||
|
liftIO $ renameFile src dest
|
||||||
|
return True
|
||||||
else ifM crippledFileSystem
|
else ifM crippledFileSystem
|
||||||
( liftIO $ copyFileExternal src dest
|
( liftIO $ copyFileExternal src dest
|
||||||
, do
|
, do
|
||||||
|
|
Loading…
Reference in a new issue