Browse Source

Avoid unneeded output when checking if dep was compiled

Loïc Hoguin 10 years ago
parent
commit
0bf4370423
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/deps.mk

+ 1 - 1
core/deps.mk

@@ -44,7 +44,7 @@ ifneq ($(IS_DEP),1)
 	@rm -f $(ERLANG_MK_TMP)/deps.log
 endif
 	@for dep in $(ALL_DEPS_DIRS) ; do \
-		if grep -q ^$$dep$$$$ $(ERLANG_MK_TMP)/deps.log; then \
+		if grep -qs ^$$dep$$$$ $(ERLANG_MK_TMP)/deps.log; then \
 			echo -n; \
 		else \
 			echo $$dep >> $(ERLANG_MK_TMP)/deps.log; \