diff options
-rw-r--r-- | erlang.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,7 +17,7 @@ ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST))) export ERLANG_MK_FILENAME -ERLANG_MK_VERSION = 2018.03.05-32-g9e38db3 +ERLANG_MK_VERSION = 2018.05.15 ERLANG_MK_WITHOUT = # Make 3.81 and 3.82 are deprecated. @@ -256,7 +256,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 ?= |