summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-11-07 19:30:37 -0600
committerTristan Sloughter <t@crashfast.com>2014-11-07 19:30:37 -0600
commitdeca5d9edb098fd8722ddef3b1c4d63cc9481c74 (patch)
tree17b74c16134345600215d258e630ef8ff151e41c /src/rebar3.erl
parent1cfb6ab2e16e0fa4d23ba036510c79c87988d696 (diff)
add warning if user is running with erts-6.1
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl8
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).