diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-30 14:05:07 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-30 14:05:07 -0400 |
commit | 0d06f8fbda77634b5dc9851e5fa9dac5e4362887 (patch) | |
tree | 202d45d4839fe88cd6c38175b172099634d1ec0e /Utility | |
parent | 46a130eb5823b625562d67a35ae7e645c4adebce (diff) |
fix
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/Tmp.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Tmp.hs b/Utility/Tmp.hs index 8b6d342f2..891ce5083 100644 --- a/Utility/Tmp.hs +++ b/Utility/Tmp.hs @@ -63,7 +63,7 @@ withTmpDir template a = do withTmpDirIn :: FilePath -> Template -> (FilePath -> IO a) -> IO a withTmpDirIn tmpdir template = bracket create remove where - remove d = whenM (doesDirectoryExist d) $ + remove d = whenM (doesDirectoryExist d) $ do #if mingw32_HOST_OS -- Windows will often refuse to delete a file -- after a process has just written to it and exited. |