diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-01-09 12:42:53 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-01-09 12:42:53 +0100 |
commit | 4e471e69862b62aec2358bd1a0d29737dea88738 (patch) | |
tree | 314ef9961eaf81bb40a13930522944615ae2c86f /src | |
parent | c15d99d8bb5f2889e3b1d9f81dc3efbdc6a1e821 (diff) |
Fix Dialyzer warning
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_upgrade.erl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/rebar_upgrade.erl b/src/rebar_upgrade.erl index 3c63a6c..cfe321e 100644 --- a/src/rebar_upgrade.erl +++ b/src/rebar_upgrade.erl @@ -179,10 +179,13 @@ make_tar(NameVer, NewVer, NewName) -> ok = file:delete(Absname), case os:type() of {win32,_} -> - {ok, _} = file:copy( - filename:join([".", "releases", NewVer, "start.boot"]), - filename:join([".", "releases", NewVer, NewName ++ ".boot"])); - _ -> ok + {ok, _} = + file:copy( + filename:join([".", "releases", NewVer, "start.boot"]), + filename:join([".", "releases", NewVer, NewName ++ ".boot"])), + ok; + _ -> + ok end, {ok, Tar} = erl_tar:open(Absname, [write, compressed]), ok = erl_tar:add(Tar, "lib", []), |