From 2cff499a342f5bcb978e88fd453764afac6d5817 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 22 Feb 2011 15:46:34 +0100 Subject: [PATCH] Fix regression in rebar_lfe_compiler --- src/rebar_lfe_compiler.erl | 5 +++-- 1 file 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.