From 889601751d10143771d0716ea9079a9b8672d19e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 21 Jul 2015 21:23:41 +0200 Subject: Fix ci-prepare when OTP builds exist --- erlang.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erlang.mk b/erlang.mk index 8a4051a..6546f90 100644 --- a/erlang.mk +++ b/erlang.mk @@ -5386,9 +5386,11 @@ endef $(foreach otp,$(CI_OTP),$(eval $(call ci_target,$(otp)))) define ci_otp_target +ifeq ($(wildcard $(CI_INSTALL_DIR)/$(1)),) $(CI_INSTALL_DIR)/$(1): $(KERL) $(KERL) build git $(OTP_GIT) $(1) $(1) $(KERL) install $(1) $(CI_INSTALL_DIR)/$(1) +endif endef $(foreach otp,$(CI_OTP),$(eval $(call ci_otp_target,$(otp)))) -- cgit v1.2.3