summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_upgrade.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rebar_upgrade.erl b/src/rebar_upgrade.erl
index b913ef2..fb14707 100644
--- a/src/rebar_upgrade.erl
+++ b/src/rebar_upgrade.erl
@@ -157,6 +157,11 @@ boot_files(TargetDir, Ver, Name) ->
file:copy(
filename:join([TargetDir, "releases", Ver, "start_clean.boot"]),
filename:join([".", ?TMP, "releases", Ver, "start_clean.boot"])),
+
+ {ok, _} = file:copy(
+ filename:join([TargetDir, "releases", Ver, "sys.config"]),
+ filename:join([".", ?TMP, "releases", Ver, "sys.config"])),
+
{ok, _} = file:copy(
filename:join([TargetDir, "releases", Ver, "vm.args"]),
filename:join([".", ?TMP, "releases", Ver, "vm.args"])).