summaryrefslogtreecommitdiff
path: root/src/rebar_reltool.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_reltool.erl')
-rw-r--r--src/rebar_reltool.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_reltool.erl b/src/rebar_reltool.erl
index c64c785..51fcb0e 100644
--- a/src/rebar_reltool.erl
+++ b/src/rebar_reltool.erl
@@ -58,10 +58,10 @@ generate(Config0, ReltoolFile) ->
ok ->
{ok, Config};
{error, failed} ->
- ?ABORT;
+ ?FAIL;
Other2 ->
?ERROR("Unexpected error: ~p\n", [Other2]),
- ?ABORT
+ ?FAIL
end.
overlay(Config, ReltoolFile) ->
@@ -238,12 +238,12 @@ mk_target_dir(Config, TargetDir) ->
_ ->
?ERROR("Release target directory ~p already exists!\n",
[TargetDir]),
- ?ABORT
+ ?FAIL
end;
{error, Reason} ->
?ERROR("Failed to make target dir ~p: ~s\n",
[TargetDir, file:format_error(Reason)]),
- ?ABORT
+ ?FAIL
end.