diff options
author | Tristan Sloughter <[email protected]> | 2014-05-17 09:22:06 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-05-17 09:22:06 -0500 |
commit | 6127841b1aebd375b9d4e9f837e8bec07e2fa357 (patch) | |
tree | bb94341bbcdc26c0bb995bb9a684b0c6745b1af0 | |
parent | 09d7273631bf13baaa923c9f22892db192d799bb (diff) | |
parent | d9c7acb9461569ab439499d0a90d634c75e14573 (diff) | |
download | relx-6127841b1aebd375b9d4e9f837e8bec07e2fa357.tar.gz relx-6127841b1aebd375b9d4e9f837e8bec07e2fa357.tar.bz2 relx-6127841b1aebd375b9d4e9f837e8bec07e2fa357.zip |
Merge pull request #183 from jwilberding/fix_rlxv1.0.0
Fix for #182, which requires we delete a read-only file before overwriti...
-rw-r--r-- | src/rlx_prv_assembler.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl index 827b4c1..bc4e606 100644 --- a/src/rlx_prv_assembler.erl +++ b/src/rlx_prv_assembler.erl @@ -390,6 +390,7 @@ include_erts(State, Release, OutputDir, RelDir) -> end, case rlx_state:get(State, extended_start_script, false) of true -> + ok = ec_file:remove(filename:join([OutputDir, "bin", "start_clean.boot"])), ok = ec_file:copy(filename:join([Prefix, "bin", "start_clean.boot"]), filename:join([OutputDir, "bin", "start_clean.boot"])), NodeToolFile = nodetool_contents(), |