aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 5be110b..084d6b4 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -60,7 +60,7 @@ distclean:: distclean-deps distclean-pkg
# in practice only Makefile is needed so far.
define dep_autopatch
if [ -f $(DEPS_DIR)/$(1)/Makefile ]; then \
- if [ 0 != `grep -c rebar $(DEPS_DIR)/$(1)/Makefile` ]; then \
+ if [ 0 != `grep -ci rebar $(DEPS_DIR)/$(1)/Makefile` ]; then \
$(call dep_autopatch2,$(1)); \
else \
$(call dep_autopatch_erlang_mk,$(1)); \