mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix erlc regression (reported-by Benoit Chesneau)
This commit is contained in:
parent
f2b687a046
commit
5b3082f443
1 changed files with 2 additions and 2 deletions
|
@ -252,9 +252,9 @@ internal_erl_compile(Source, Config, Outdir, ErlOpts) ->
|
||||||
case needs_compile(Source, Target, Hrls) of
|
case needs_compile(Source, Target, Hrls) of
|
||||||
true ->
|
true ->
|
||||||
Opts = [{outdir, filename:dirname(Target)}] ++
|
Opts = [{outdir, filename:dirname(Target)}] ++
|
||||||
ErlOpts ++ [{i, "include"}, report, return],
|
ErlOpts ++ [{i, "include"}, report, return_errors],
|
||||||
case compile:file(Source, Opts) of
|
case compile:file(Source, Opts) of
|
||||||
{ok, _, []} ->
|
{ok, _} ->
|
||||||
ok;
|
ok;
|
||||||
_ ->
|
_ ->
|
||||||
?FAIL
|
?FAIL
|
||||||
|
|
Loading…
Reference in a new issue