[commit: ghc] master: Build system: use `mkdir -p` instead of `-mkdir` (a065a3a)
git at git.haskell.org
git at git.haskell.org
Sat May 30 15:08:28 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a065a3ae6063eae4c45797ecc5c9b9c822534d2a/ghc
>---------------------------------------------------------------
commit a065a3ae6063eae4c45797ecc5c9b9c822534d2a
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Sun May 24 12:34:05 2015 +0200
Build system: use `mkdir -p` instead of `-mkdir`
Avoid unnecessary warnings.
[skip ci]
>---------------------------------------------------------------
a065a3ae6063eae4c45797ecc5c9b9c822534d2a
utils/mkdirhier/ghc.mk | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/utils/mkdirhier/ghc.mk b/utils/mkdirhier/ghc.mk
index a656577..55803f0 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 >> $@
More information about the ghc-commits
mailing list