diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-24 12:34:05 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-30 16:48:46 +0200 |
commit | a065a3ae6063eae4c45797ecc5c9b9c822534d2a (patch) | |
tree | 8e5d81e090242bacada305df6f2c078fcf005ce6 /utils/mkdirhier | |
parent | 4c7d1778e0e8ac2eae0f9055580b40e32b6e8c0a (diff) | |
download | haskell-a065a3ae6063eae4c45797ecc5c9b9c822534d2a.tar.gz |
Build system: use `mkdir -p` instead of `-mkdir`
Avoid unnecessary warnings.
[skip ci]
Diffstat (limited to 'utils/mkdirhier')
-rw-r--r-- | utils/mkdirhier/ghc.mk | 5 |
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 >> $@ |