From e9e6c38a112480a9d893848e6e4d556357d13daf Mon Sep 17 00:00:00 2001 From: Eric des Courtis Date: Tue, 17 Jun 2014 21:58:55 -0400 Subject: Erlang 17+ doesn't start by 'R' --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b7ee1e5..ad4b5d6 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ endif # dialyzer on R15 and above. However on R14 and below we have the # problem that travis times out. The code below lets us not run # dialyzer on R14 -OTP_VSN=$(shell erl -noshell -eval 'io:format("~p", [erlang:system_info(otp_release)]), erlang:halt(0).' | perl -lne 'print for /R(\d+).*/g') +OTP_VSN=$(shell erl -noshell -eval 'io:format("~p", [erlang:system_info(otp_release)]), erlang:halt(0).' | perl -lne 'print for /R{0,1}(\d+).*/g') TRAVIS_SLOW=$(shell expr $(OTP_VSN) \<= 15 ) ifeq ($(TRAVIS_SLOW), 0) -- cgit v1.2.3