mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix regression in rebar_lfe_compiler
This commit is contained in:
parent
3356c2d9e8
commit
2cff499a34
1 changed files with 3 additions and 2 deletions
|
@ -62,7 +62,7 @@ compile_lfe(Source, Target, Config) ->
|
|||
?FAIL;
|
||||
_ ->
|
||||
Opts = [{i, "include"}, {outdir, "ebin"}, report, return] ++
|
||||
rebar_config:get_list(Config, erl_opts, []),
|
||||
rebar_config:get_list(Config, lfe_opts, []),
|
||||
case lfe_comp:file(Source, Opts) of
|
||||
{ok, _, []} ->
|
||||
ok;
|
||||
|
@ -74,6 +74,7 @@ compile_lfe(Source, Target, Config) ->
|
|||
false ->
|
||||
ok
|
||||
end;
|
||||
_ -> ?FAIL
|
||||
_ ->
|
||||
?FAIL
|
||||
end
|
||||
end.
|
||||
|
|
Loading…
Reference in a new issue