From 8ce44651d51c8f860c4d433bf16d5a723e1f5cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 27 Jun 2015 20:31:52 +0200 Subject: Remove ebin/$(DEP).app when patching rebar out Seems like it works fine for all packages and fix issues with some that wouldn't compile properly otherwise. --- core/deps.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/deps.mk b/core/deps.mk index 3bb43ae..9d17362 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -137,7 +137,8 @@ define dep_autopatch_rebar if [ -f $(DEPS_DIR)/$(1)/Makefile ]; then \ mv $(DEPS_DIR)/$(1)/Makefile $(DEPS_DIR)/$(1)/Makefile.orig.mk; \ fi; \ - $(call erlang,$(call dep_autopatch_rebar.erl,$(1))) + $(call erlang,$(call dep_autopatch_rebar.erl,$(1))); \ + rm -f $(DEPS_DIR)/$(1)/ebin/$(1).app endef define dep_autopatch_rebar.erl -- cgit v1.2.3