aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-08-16 14:54:48 +0200
committerLoïc Hoguin <[email protected]>2015-08-16 14:54:48 +0200
commitccd2b9f3ddf51ce6b7011263265b214c05ac63a3 (patch)
tree8a9bbc48466bfc9ec470abda9330e0daa12c2d17
parente811c0f13b9d1bacdcd93c39dcafb9e08012ee22 (diff)
parent7da80c28df7d7f1e84b1443f5d47063533eb4605 (diff)
downloaderlang.mk-ccd2b9f3ddf51ce6b7011263265b214c05ac63a3.tar.gz
erlang.mk-ccd2b9f3ddf51ce6b7011263265b214c05ac63a3.tar.bz2
erlang.mk-ccd2b9f3ddf51ce6b7011263265b214c05ac63a3.zip
Merge branch 'xargs-darwin-find' of https://github.com/manifest/erlang.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 60bdc35..c3842d1 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -67,7 +67,7 @@ define dep_autopatch
$(call dep_autopatch2,$(1)); \
elif [ 0 != `grep -ci rebar $(DEPS_DIR)/$(1)/Makefile` ]; then \
$(call dep_autopatch2,$(1)); \
- elif [ -n "`find $(DEPS_DIR)/$(1)/ -type f -name \*.mk -not -name erlang.mk | xargs -r grep -i rebar`" ]; then \
+ elif [ -n "`find $(DEPS_DIR)/$(1)/ -type f -name \*.mk -not -name erlang.mk -exec grep -i rebar '{}' \;`" ]; then \
$(call dep_autopatch2,$(1)); \
else \
if [ -f $(DEPS_DIR)/$(1)/erlang.mk ]; then \