summaryrefslogtreecommitdiff
path: root/Utility/Tmp.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-11-21 14:42:19 -0400
committerJoey Hess <joey@kitenet.net>2013-11-21 14:42:19 -0400
commitf27d98afc350cfd9f13382543408bab3f6fdd570 (patch)
treec4dbc8f519f3831c879d50c1882a87673db38e7d /Utility/Tmp.hs
parenta813677374811eec28096cb19fd4bc566aae1163 (diff)
downloadgit-repair-f27d98afc350cfd9f13382543408bab3f6fdd570.tar.gz
clean up
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)