summaryrefslogtreecommitdiff
path: root/src/rebar_base_compiler.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-07-28 19:51:57 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-07-28 19:51:57 +0200
commit636c02f0be021b5d56fd29a562f80ed0f5cdff46 (patch)
tree80fd0fc561b493d315ca7945c1ccddc7cdce3f55 /src/rebar_base_compiler.erl
parent2d62896de0072b6dfeda82156f77584eff37f880 (diff)
downloadrebar-636c02f0be021b5d56fd29a562f80ed0f5cdff46.tar.gz
Fix R13B03 build (Reported-by: Sergey Nartimov)
Diffstat (limited to 'src/rebar_base_compiler.erl')
-rw-r--r--src/rebar_base_compiler.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_base_compiler.erl b/src/rebar_base_compiler.erl
index 89aab07..c2ebf51 100644
--- a/src/rebar_base_compiler.erl
+++ b/src/rebar_base_compiler.erl
@@ -141,7 +141,7 @@ compile_each([Source | Rest], Config, CompileFn) ->
Error ->
maybe_report(Error),
?DEBUG("Compilation failed: ~p\n", [Error]),
- ?ABORT
+ ?FAIL
end,
compile_each(Rest, Config, CompileFn).
@@ -162,7 +162,7 @@ compile_queue(Pids, Targets) ->
{fail, Error} ->
maybe_report(Error),
?DEBUG("Worker compilation failed: ~p\n", [Error]),
- ?ABORT;
+ ?FAIL;
{compiled, Source, Warnings} ->
report(Warnings),
@@ -184,7 +184,7 @@ compile_queue(Pids, Targets) ->
{'DOWN', _Mref, _, _Pid, Info} ->
?DEBUG("Worker failed: ~p\n", [Info]),
- ?ABORT
+ ?FAIL
end.
compile_worker(QueuePid, Config, CompileFn) ->