diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-20 13:44:49 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-20 13:44:49 -0400 |
commit | 454848b42b2e22a28ba677435318d726ce627e75 (patch) | |
tree | 7c4f5de9044ad9b74d185279a923ca53f974c860 /Utility/Tmp.hs | |
parent | c8999b8a8b17a225178bb314e1c7c9bb7538e4aa (diff) |
oops
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 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) |