aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c75c656..1c169cc 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") \; ; \
+ find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; 2>/dev/null || echo -n; \
fi
clean-app:
diff --git a/erlang.mk b/erlang.mk
index 310d663..62f9ebe 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") \; ; \
+ find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; 2>/dev/null || echo -n; \
fi
clean-app: