summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_lfe_compiler.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rebar_lfe_compiler.erl b/src/rebar_lfe_compiler.erl
index dc97bb1..06b0f08 100644
--- a/src/rebar_lfe_compiler.erl
+++ b/src/rebar_lfe_compiler.erl
@@ -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.