diff options
author | Loïc Hoguin <[email protected]> | 2018-05-15 17:18:57 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-15 17:18:57 +0200 |
commit | 04b41c3cf70aba88c1dd76e4e86c39458d817219 (patch) | |
tree | 9db25bbc049b5143121db0c06ce8c465f2887437 /erlang.mk | |
parent | 4909834327f7b8bdc7168c7066f140009152f613 (diff) | |
download | gun-04b41c3cf70aba88c1dd76e4e86c39458d817219.tar.gz gun-04b41c3cf70aba88c1dd76e4e86c39458d817219.tar.bz2 gun-04b41c3cf70aba88c1dd76e4e86c39458d817219.zip |
Update Erlang.mk again to fix an issue in CI
Diffstat (limited to 'erlang.mk')
-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 ?= |