diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-21 14:46:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-21 14:46:59 -0400 |
commit | 36a29fbfb0d61c7214d787d18ea9689247c98c34 (patch) | |
tree | ff6c5035480682fd6d8e5fcf53d7bc9092e4da6c /Utility | |
parent | f27d98afc350cfd9f13382543408bab3f6fdd570 (diff) | |
download | git-repair-36a29fbfb0d61c7214d787d18ea9689247c98c34.tar.gz |
urgle
Diffstat (limited to 'Utility')
-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 3770654..186cd12 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) |