diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-20 13:49:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-20 13:49:56 -0400 |
commit | c2cd79e09b5aad1d634c58f5a130654649e25c49 (patch) | |
tree | 4cabe39e210a709bde4f73a0d4d5292abd64db9e /Utility | |
parent | 4af7c3a70968dc1f2318652c372113d4df22d18b (diff) | |
download | git-repair-c2cd79e09b5aad1d634c58f5a130654649e25c49.tar.gz |
oops
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) |