aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kempkens <[email protected]>2014-08-20 21:59:40 +0200
committerDaniel Kempkens <[email protected]>2014-08-20 21:59:40 +0200
commit66d058e5a999a1bc0566872332073bcf41f0b47a (patch)
tree24f5b9a219de472caf6c185d7e9468ee3932cacd
parent5d021bf639417c663c8d68636e89952598c51368 (diff)
downloaderlang.mk-66d058e5a999a1bc0566872332073bcf41f0b47a.tar.gz
erlang.mk-66d058e5a999a1bc0566872332073bcf41f0b47a.tar.bz2
erlang.mk-66d058e5a999a1bc0566872332073bcf41f0b47a.zip
Stop printing `-n` when running `make` on OSX
-rw-r--r--core/erlc.mk2
-rw-r--r--erlang.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 1c169cc..03e174e 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -64,7 +64,7 @@ clean:: clean-app
erlc-include:
-@if [ -d ebin/ ]; then \
- find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; 2>/dev/null || echo -n; \
+ find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; 2>/dev/null || printf ''; \
fi
clean-app:
diff --git a/erlang.mk b/erlang.mk
index 9fde6ad..49b1c49 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -242,7 +242,7 @@ clean:: clean-app
erlc-include:
-@if [ -d ebin/ ]; then \
- find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; 2>/dev/null || echo -n; \
+ find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; 2>/dev/null || printf ''; \
fi
clean-app: