|
@@ -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 \
|