From deca5d9edb098fd8722ddef3b1c4d63cc9481c74 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Fri, 7 Nov 2014 19:30:37 -0600 Subject: add warning if user is running with erts-6.1 --- src/rebar3.erl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/rebar3.erl b/src/rebar3.erl index a61209a..abf9b27 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -84,6 +84,14 @@ run(BaseState, Command) -> run(RawArgs) -> ok = load_rebar_app(), BaseConfig = init_config(), + + case erlang:system_info(version) of + "6.1" -> + ?WARN("Due to a filelib bug in Erlang 17.1 it is recommended you update to a newer release.~n", []); + _ -> + ok + end, + {BaseConfig1, _Args1} = set_options(BaseConfig, {[], []}), run_aux(BaseConfig1, RawArgs). -- cgit v1.1