summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-18 17:18:15 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-18 17:19:42 +0200
commit6c1694980c626c51d08789190f81c6011dd675f4 (patch)
tree9fcbba563d0fb6e9739eff9f412ce6b393c7354a
parent991e2ce8e1873e528c725cf7b35b65f9f143c6fc (diff)
Fix whitespace error
-rw-r--r--src/rebar_erlc_compiler.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 00a1c35..d704d2d 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -257,11 +257,10 @@ doterl_compile(Config, OutDir, MoreSources) ->
ok = filelib:ensure_dir(filename:join("ebin", "dummy.beam")),
CurrPath = code:get_path(),
true = code:add_path(filename:absname("ebin")),
+ OutDir1 = proplists:get_value(outdir, ErlOpts, OutDir),
rebar_base_compiler:run(Config, NewFirstErls, OtherErls,
fun(S, C) ->
- internal_erl_compile(C, S,
- proplists:get_value(outdir, ErlOpts, OutDir),
- ErlOpts)
+ internal_erl_compile(C, S, OutDir1, ErlOpts)
end),
true = code:set_path(CurrPath),
ok.