diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-06-01 14:27:16 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-06-01 14:29:54 +0200 |
commit | 5b3082f44350710a61d9e8f5b33b9463e9e3d818 (patch) | |
tree | c2a396f9090df9a65c25aba0e58950f918c2a386 | |
parent | f2b687a0466b0d8b06a3af796491a311a57255e8 (diff) |
Fix erlc regression (reported-by Benoit Chesneau)
-rw-r--r-- | src/rebar_erlc_compiler.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index 6567f06..08b663a 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -252,9 +252,9 @@ internal_erl_compile(Source, Config, Outdir, ErlOpts) -> case needs_compile(Source, Target, Hrls) of true -> Opts = [{outdir, filename:dirname(Target)}] ++ - ErlOpts ++ [{i, "include"}, report, return], + ErlOpts ++ [{i, "include"}, report, return_errors], case compile:file(Source, Opts) of - {ok, _, []} -> + {ok, _} -> ok; _ -> ?FAIL |