Fix regression in rebar_lfe_compiler

This commit is contained in:
Tuncer Ayaz 2011-02-22 15:46:34 +01:00
parent 3356c2d9e8
commit 2cff499a34

View file

@ -62,7 +62,7 @@ compile_lfe(Source, Target, Config) ->
?FAIL; ?FAIL;
_ -> _ ->
Opts = [{i, "include"}, {outdir, "ebin"}, report, return] ++ 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 case lfe_comp:file(Source, Opts) of
{ok, _, []} -> {ok, _, []} ->
ok; ok;
@ -74,6 +74,7 @@ compile_lfe(Source, Target, Config) ->
false -> false ->
ok ok
end; end;
_ -> ?FAIL _ ->
?FAIL
end end
end. end.