aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-12-29 15:02:41 +0100
committerLoïc Hoguin <[email protected]>2015-12-29 15:02:41 +0100
commit68541ca1cf25b61f8aea5597c49f9c3cc06e8d37 (patch)
tree0eb2c287dead53681a623c0a1838f3334ebae6af
parentbe976cf37aff634fc9668e15e7a0b1adacf89595 (diff)
downloaderlang.mk-68541ca1cf25b61f8aea5597c49f9c3cc06e8d37.tar.gz
erlang.mk-68541ca1cf25b61f8aea5597c49f9c3cc06e8d37.tar.bz2
erlang.mk-68541ca1cf25b61f8aea5597c49f9c3cc06e8d37.zip
If the rebar binary is present, this is a rebar dep
Fixes syslog.
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 8815f61..1be270b 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -109,7 +109,7 @@ define dep_autopatch2
$(call erlang,$(call dep_autopatch_appsrc_script.erl,$(1))); \
fi; \
$(call erlang,$(call dep_autopatch_appsrc.erl,$(1))); \
- if [ -f $(DEPS_DIR)/$(1)/rebar.config -o -f $(DEPS_DIR)/$(1)/rebar.config.script ]; then \
+ if [ -f $(DEPS_DIR)/$(1)/rebar -o -f $(DEPS_DIR)/$(1)/rebar.config -o -f $(DEPS_DIR)/$(1)/rebar.config.script ]; then \
$(call dep_autopatch_fetch_rebar); \
$(call dep_autopatch_rebar,$(1)); \
else \