diff options
author | Andrei Nesterov <[email protected]> | 2015-07-12 11:50:35 +0300 |
---|---|---|
committer | Andrei Nesterov <[email protected]> | 2015-07-12 12:00:14 +0300 |
commit | 7da80c28df7d7f1e84b1443f5d47063533eb4605 (patch) | |
tree | 5da7a7a4a15bed3bc7cd822bb477da60d0253797 | |
parent | 56cbd9e0919b884025d9b21c4ad3de8bcc6fe573 (diff) | |
download | erlang.mk-7da80c28df7d7f1e84b1443f5d47063533eb4605.tar.gz erlang.mk-7da80c28df7d7f1e84b1443f5d47063533eb4605.tar.bz2 erlang.mk-7da80c28df7d7f1e84b1443f5d47063533eb4605.zip |
The '-r' option of 'xargs' is illegal on OSX
-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 0435689..cfbf9a4 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 \ |