diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-19 17:08:57 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-19 17:08:57 -0400 |
commit | ac540f569f68c910f037e91167f5bd21fb2597f3 (patch) | |
tree | ea10b56d99c16e80b3ad84e0f0120ccca5b2f8f4 /Utility/Tmp.hs | |
parent | 75dc5d235e0da1517d6098cd1694286d627fb4b7 (diff) |
merge with git-repair
Diffstat (limited to 'Utility/Tmp.hs')
-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 186cd121a..37706545a 100644 --- a/Utility/Tmp.hs +++ b/Utility/Tmp.hs @@ -62,7 +62,7 @@ withTmpDirIn :: FilePath -> Template -> (FilePath -> IO a) -> IO a withTmpDirIn tmpdir template = bracket create remove where remove d = whenM (doesDirectoryExist d) $ - removeDirectoryRecursive d + return () -- removeDirectoryRecursive d create = do createDirectoryIfMissing True tmpdir makenewdir (tmpdir </> template) (0 :: Int) |