diff options
author | Tristan Sloughter <[email protected]> | 2014-05-04 09:24:24 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-05-04 09:25:09 -0500 |
commit | 846d5f7ce0286152bdb6fe434968df82e2861ee0 (patch) | |
tree | c34817fb470155d37e757a227a75c3f56490a876 /src | |
parent | 95152fbb18cae3ba3cfe2a310b260f2fd06edad0 (diff) | |
download | relx-846d5f7ce0286152bdb6fe434968df82e2861ee0.tar.gz relx-846d5f7ce0286152bdb6fe434968df82e2861ee0.tar.bz2 relx-846d5f7ce0286152bdb6fe434968df82e2861ee0.zip |
remove mode change on nodetool and install upgrade escripts
Diffstat (limited to 'src')
-rw-r--r-- | src/rlx_prv_assembler.erl | 4 |
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, |