Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rlx_relup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ make_upfrom_script(Name, ToVsn, UpFromVsn, State) ->
WarningsAsErrors = rlx_state:warnings_as_errors(State),
Options = [{outdir, OutDir},
{path, [filename:join([OutputDir, "*", "lib", "*", "ebin"])]},
{silent, true} | case WarningsAsErrors of
silent | case WarningsAsErrors of
true -> [warnings_as_errors];
false -> []
end],
CurrentRel = strip_dot_rel(find_rel_file(Name, ToVsn, OutputDir)),
UpFromRel = strip_dot_rel(find_rel_file(Name, UpFromVsn, OutputDir)),
?log_debug("systools:make_relup(~p, ~p, ~p, ~p)", [CurrentRel, UpFromRel, UpFromRel, Options]),
case systools:make_relup(CurrentRel, [UpFromRel], [UpFromRel], [no_warn_sasl | Options]) of
case systools:make_relup(CurrentRel, [UpFromRel], [UpFromRel], Options) of
ok ->
?log_info("relup from ~s to ~s successfully created!", [UpFromRel, CurrentRel]),
{ok, State};
Expand Down
Loading