aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_assembler.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index d7bf3f1..069344e 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -316,9 +316,7 @@ write_bin_file(State, Release, OutputDir, RelDir) ->
NodeTool = filename:join([BinDir, "nodetool"]),
InstallUpgrade = filename:join([BinDir, "install_upgrade.escript"]),
ok = file:write_file(NodeTool, NodeToolFile),
- ok = file:write_file(InstallUpgrade, InstallUpgradeFile),
- ok = file:change_mode(NodeTool, 8#755),
- ok = file:change_mode(InstallUpgrade, 8#755);
+ ok = file:write_file(InstallUpgrade, InstallUpgradeFile);
false ->
ok
end,