summaryrefslogtreecommitdiff
path: root/Utility/Tmp.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-20 13:44:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-20 13:44:49 -0400
commit454848b42b2e22a28ba677435318d726ce627e75 (patch)
tree7c4f5de9044ad9b74d185279a923ca53f974c860 /Utility/Tmp.hs
parentc8999b8a8b17a225178bb314e1c7c9bb7538e4aa (diff)
oops
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 37706545a..186cd121a 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) $
- return () -- removeDirectoryRecursive d
+ removeDirectoryRecursive d
create = do
createDirectoryIfMissing True tmpdir
makenewdir (tmpdir </> template) (0 :: Int)