mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix Dialyzer warning
This commit is contained in:
parent
c15d99d8bb
commit
4e471e6986
1 changed files with 7 additions and 4 deletions
|
@ -179,10 +179,13 @@ make_tar(NameVer, NewVer, NewName) ->
|
|||
ok = file:delete(Absname),
|
||||
case os:type() of
|
||||
{win32,_} ->
|
||||
{ok, _} = file:copy(
|
||||
{ok, _} =
|
||||
file:copy(
|
||||
filename:join([".", "releases", NewVer, "start.boot"]),
|
||||
filename:join([".", "releases", NewVer, NewName ++ ".boot"]));
|
||||
_ -> ok
|
||||
filename:join([".", "releases", NewVer, NewName ++ ".boot"])),
|
||||
ok;
|
||||
_ ->
|
||||
ok
|
||||
end,
|
||||
{ok, Tar} = erl_tar:open(Absname, [write, compressed]),
|
||||
ok = erl_tar:add(Tar, "lib", []),
|
||||
|
|
Loading…
Reference in a new issue