summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-02-22 15:46:34 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-02-22 17:28:49 +0100
commit2cff499a342f5bcb978e88fd453764afac6d5817 (patch)
tree48aee33e8980d868245320ed8332aa02155067fc /src
parent3356c2d9e87c9bbad082bd3eeccecea0b6cc4358 (diff)
Fix regression in rebar_lfe_compiler
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.