summaryrefslogtreecommitdiff
path: root/Utility/Tmp.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-11-19 17:05:00 -0400
committerJoey Hess <joey@kitenet.net>2013-11-19 17:05:00 -0400
commit225199aff44949671b1fa848ce6d89945bd2f2f9 (patch)
tree33c549ae6881f07d23546a55a6a7156a9a5b5999 /Utility/Tmp.hs
parent46e0d4b8985dfd8dc69d684d86d8ab2b1ac44e82 (diff)
downloadgit-repair-225199aff44949671b1fa848ce6d89945bd2f2f9.tar.gz
retrying
Diffstat (limited to 'Utility/Tmp.hs')
-rw-r--r--Utility/Tmp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Tmp.hs b/Utility/Tmp.hs
index 186cd12..3770654 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)