summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_upgrade.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar_upgrade.erl b/src/rebar_upgrade.erl
index 0cecaab..0b39035 100644
--- a/src/rebar_upgrade.erl
+++ b/src/rebar_upgrade.erl
@@ -151,7 +151,10 @@ boot_files(TargetDir, Ver, Name) ->
filename:join([".", ?TMP, "releases", Ver, Name ++ ".boot"])),
{ok, _} = file:copy(
filename:join([TargetDir, "releases", Ver, "start_clean.boot"]),
- filename:join([".", ?TMP, "releases", Ver, "start_clean.boot"])).
+ filename:join([".", ?TMP, "releases", Ver, "start_clean.boot"])),
+ {ok, _} = file:copy(
+ filename:join([TargetDir, "releases", Ver, "vm.args"]),
+ filename:join([".", ?TMP, "releases", Ver, "vm.args"])).
make_tar(NameVer) ->
Filename = NameVer ++ ".tar.gz",