aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_assembler.erl
diff options
context:
space:
mode:
authorerlanger <erlanger>2016-01-23 12:48:55 -0500
committererlanger <erlanger>2016-01-23 13:56:01 -0500
commit447df9204eddb92e3ce8ace581add4e7bba040e1 (patch)
tree60c391947c8ab080ac4f70ad9fe538833bb0e564 /src/rlx_prv_assembler.erl
parent1b159fed973f30e545228b99494cf5c3680b30a0 (diff)
downloadrelx-447df9204eddb92e3ce8ace581add4e7bba040e1.tar.gz
relx-447df9204eddb92e3ce8ace581add4e7bba040e1.tar.bz2
relx-447df9204eddb92e3ce8ace581add4e7bba040e1.zip
replacing OS vars: use .orig files to prevent overwriting
Diffstat (limited to 'src/rlx_prv_assembler.erl')
-rw-r--r--src/rlx_prv_assembler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index 21d9bd4..c433ca7 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -454,7 +454,7 @@ copy_or_symlink_config_file(State, ConfigPath, RelConfPath) ->
ensure_not_exist(RelConfPath),
case rlx_state:dev_mode(State) of
true ->
- ok = rlx_util:symlink_or_copy(ConfigPath, RelConfPath);
+ ok = rlx_util:symlink_or_copy(ConfigPath, RelConfPath ++ ".orig");
_ ->
ok = ec_file:copy(ConfigPath, RelConfPath)
end.