summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-11-02 11:01:22 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-11-03 17:41:48 -0500
commit3486ebe6f960cc55d52c1e645ee15fdeb277d0ab (patch)
treeed2f2d648f0d785f14b25e4f12039482e5c814ba /hadrian
parent616bec0dee67ae4841c4e60e9406cc9c63358223 (diff)
downloadhaskell-3486ebe6f960cc55d52c1e645ee15fdeb277d0ab.tar.gz
Hadrian: don't fail if ghc-tarballs dir doesn't exist
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Rules/Clean.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Clean.hs b/hadrian/src/Rules/Clean.hs
index 48c1cb616f..d57a7967aa 100644
--- a/hadrian/src/Rules/Clean.hs
+++ b/hadrian/src/Rules/Clean.hs
@@ -22,7 +22,7 @@ cleanSourceTree = do
cleanMingwTarballs :: Action ()
cleanMingwTarballs = do
- liftIO $ IO.removeDirectoryRecursive "ghc-tarballs"
+ removeDirectory "ghc-tarballs"
-- Clean all temporary fs files copied by configure into the source folder
cleanFsUtils :: Action ()