From 196ce31696c58374c2fa1c1e42e3dc74951e91f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 13 May 2015 19:22:49 +0300 Subject: Improve rebar detection for autopatch --- core/deps.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/deps.mk') 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)); \ -- cgit v1.2.3