diff options
author | Loïc Hoguin <[email protected]> | 2015-05-13 19:22:49 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-05-13 19:22:49 +0300 |
commit | 196ce31696c58374c2fa1c1e42e3dc74951e91f8 (patch) | |
tree | 393cd9c060e1c34b472215411047a0c8f35d9166 /core | |
parent | 945e1855940b47fbf4853548e28deeb62a93d65c (diff) | |
download | erlang.mk-196ce31696c58374c2fa1c1e42e3dc74951e91f8.tar.gz erlang.mk-196ce31696c58374c2fa1c1e42e3dc74951e91f8.tar.bz2 erlang.mk-196ce31696c58374c2fa1c1e42e3dc74951e91f8.zip |
Improve rebar detection for autopatch
Diffstat (limited to 'core')
-rw-r--r-- | core/deps.mk | 2 |
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)); \ |