diff options
-rw-r--r-- | src/rebar3.erl | 8 |
1 files changed, 8 insertions, 0 deletions
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). |