aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-05-15 17:14:41 +0200
committerLoïc Hoguin <[email protected]>2018-05-15 17:14:41 +0200
commitd30dda39b08e6ed9e12b44533889eaf90aba86de (patch)
tree4a75e005d7105a5c05e7791be10b12a2588deb26
parent9e38db3cc5b7beaaa9e173044b3053673493b979 (diff)
downloaderlang.mk-2018.05.15.tar.gz
erlang.mk-2018.05.15.tar.bz2
erlang.mk-2018.05.15.zip
Don't use release candidates when LATEST_ERLANG_OTP=12018.05.15
-rw-r--r--core/kerl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/kerl.mk b/core/kerl.mk
index a6b45d7..a1aa824 100644
--- a/core/kerl.mk
+++ b/core/kerl.mk
@@ -49,7 +49,8 @@ distclean-kerl:
# Allow users to select which version of Erlang/OTP to use for a project.
ifneq ($(strip $(LATEST_ERLANG_OTP)),)
-ERLANG_OTP := $(notdir $(lastword $(sort $(wildcard $(KERL_INSTALL_DIR)/*[^-native]))))
+ERLANG_OTP := $(notdir $(lastword $(sort $(filter-out %-rc1 %-rc2 %-rc3,\
+ $(wildcard $(KERL_INSTALL_DIR)/*[^-native])))))
endif
ERLANG_OTP ?=