summaryrefslogtreecommitdiff
path: root/utils/mkdirhier
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mkdirhier')
-rw-r--r--utils/mkdirhier/ghc.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/mkdirhier/ghc.mk b/utils/mkdirhier/ghc.mk
index a6565775b0..55803f0007 100644
--- a/utils/mkdirhier/ghc.mk
+++ b/utils/mkdirhier/ghc.mk
@@ -11,9 +11,8 @@
# -----------------------------------------------------------------------------
$(MKDIRHIER) : utils/mkdirhier/mkdirhier.sh
- -mkdir $(INPLACE)
- -mkdir $(INPLACE_BIN)
- -mkdir $(INPLACE_LIB)
+ mkdir -p $(INPLACE_BIN)
+ mkdir -p $(INPLACE_LIB)
$(call removeFiles,$@)
echo '#!$(SHELL)' >> $@
cat utils/mkdirhier/mkdirhier.sh >> $@