diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-19 17:26:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-19 17:26:39 -0400 |
commit | d5f6cd563f3caa5dad93667d793bddd726b4d952 (patch) | |
tree | f16e17c941f95bb925e029170ca01b9d3b9889bc /Utility | |
parent | 3a636bd6d39f2e1fe6b42d1d0a1c925aa56641c7 (diff) | |
download | git-repair-d5f6cd563f3caa5dad93667d793bddd726b4d952.tar.gz |
whoops
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) |