mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix ci-prepare when OTP builds exist
This commit is contained in:
parent
902f8469aa
commit
889601751d
1 changed files with 2 additions and 0 deletions
2
erlang.mk
vendored
2
erlang.mk
vendored
|
@ -5386,9 +5386,11 @@ endef
|
||||||
$(foreach otp,$(CI_OTP),$(eval $(call ci_target,$(otp))))
|
$(foreach otp,$(CI_OTP),$(eval $(call ci_target,$(otp))))
|
||||||
|
|
||||||
define ci_otp_target
|
define ci_otp_target
|
||||||
|
ifeq ($(wildcard $(CI_INSTALL_DIR)/$(1)),)
|
||||||
$(CI_INSTALL_DIR)/$(1): $(KERL)
|
$(CI_INSTALL_DIR)/$(1): $(KERL)
|
||||||
$(KERL) build git $(OTP_GIT) $(1) $(1)
|
$(KERL) build git $(OTP_GIT) $(1) $(1)
|
||||||
$(KERL) install $(1) $(CI_INSTALL_DIR)/$(1)
|
$(KERL) install $(1) $(CI_INSTALL_DIR)/$(1)
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach otp,$(CI_OTP),$(eval $(call ci_otp_target,$(otp))))
|
$(foreach otp,$(CI_OTP),$(eval $(call ci_otp_target,$(otp))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue