aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_assembler.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-05-04 09:24:24 -0500
committerTristan Sloughter <[email protected]>2014-05-04 09:25:09 -0500
commit846d5f7ce0286152bdb6fe434968df82e2861ee0 (patch)
treec34817fb470155d37e757a227a75c3f56490a876 /src/rlx_prv_assembler.erl
parent95152fbb18cae3ba3cfe2a310b260f2fd06edad0 (diff)
downloadrelx-846d5f7ce0286152bdb6fe434968df82e2861ee0.tar.gz
relx-846d5f7ce0286152bdb6fe434968df82e2861ee0.tar.bz2
relx-846d5f7ce0286152bdb6fe434968df82e2861ee0.zip
remove mode change on nodetool and install upgrade escripts
Diffstat (limited to 'src/rlx_prv_assembler.erl')
-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,