aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <[email protected]>2015-10-22 15:16:08 +0200
committerJean-Sébastien Pédron <[email protected]>2015-11-17 14:16:44 +0100
commit05e085d5ab4161c6d1c630e36721e5ae1bb32b0f (patch)
treeec9a619325437fe6e341b607140423c298bb4c16 /core/deps.mk
parentbd6e00675e2b87cf031017b931a02353fc67b250 (diff)
downloaderlang.mk-05e085d5ab4161c6d1c630e36721e5ae1bb32b0f.tar.gz
erlang.mk-05e085d5ab4161c6d1c630e36721e5ae1bb32b0f.tar.bz2
erlang.mk-05e085d5ab4161c6d1c630e36721e5ae1bb32b0f.zip
Use `:` as a noop instead of `echo -n`
The `-n` flag is not standard and not portable. It is supported by many Bourne shell to suppress the trailing newline character. But some old shells do not support this and "-n" is printed. This is the case for instance on some old versions of Mac OS X where `/bin/sh` is Bash 3.2.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 76f54d7..bf39be1 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -62,7 +62,7 @@ endif
$(verbose) mkdir -p $(ERLANG_MK_TMP)
$(verbose) for dep in $(ALL_DEPS_DIRS) ; do \
if grep -qs ^$$dep$$ $(ERLANG_MK_TMP)/deps.log; then \
- echo -n; \
+ :; \
else \
echo $$dep >> $(ERLANG_MK_TMP)/deps.log; \
if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ]; then \
@@ -127,7 +127,7 @@ define dep_autopatch_erlang_mk
endef
else
define dep_autopatch_erlang_mk
- echo -n
+ :
endef
endif