diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-20 15:18:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-20 15:18:55 -0400 |
commit | a756f48c615a05b81396c99da55ae529fa6254f8 (patch) | |
tree | d2a1c81181638f8017c865d72d2f8b5c2c8197c0 | |
parent | 6d67245728bbbc07ad1eeaf5b3c49f64c6bbcd11 (diff) | |
download | git-repair-a756f48c615a05b81396c99da55ae529fa6254f8.tar.gz |
urgle
-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) |