Fix Dialyzer warnings in rebar_upgrade

This commit is contained in:
Tuncer Ayaz 2011-01-29 15:50:24 +01:00
parent 7ac3a5aa9b
commit 0e729bf90e

View file

@ -54,7 +54,7 @@
run_systools(NameVer, NewName), run_systools(NameVer, NewName),
%% Boot file changes %% Boot file changes
boot_files(NewVer, NewName), {ok, _} = boot_files(NewVer, NewName),
%% Extract upgrade and tar it back up with changes %% Extract upgrade and tar it back up with changes
make_tar(NameVer), make_tar(NameVer),
@ -183,7 +183,7 @@ cleanup(NameVer, Name, Ver) ->
filename:join([".", NameVer ++ ".script"]), filename:join([".", NameVer ++ ".script"]),
filename:join([".", "relup"]) filename:join([".", "relup"])
], ],
[ok = file:delete(F) || F <- Files], lists:foreach(fun(F) -> ok = file:delete(F) end, Files),
ok = remove_dir_tree("releases"), ok = remove_dir_tree("releases"),
ok = remove_dir_tree("lib"). ok = remove_dir_tree("lib").