diff options
author | Luis Rascao <[email protected]> | 2016-10-23 23:47:39 +0100 |
---|---|---|
committer | Luis Rascao <[email protected]> | 2016-10-27 18:57:39 +0100 |
commit | f0e0d1acc7e4b645e9dac38e8323bbc1cb8fb03c (patch) | |
tree | 9c418e34ca331ca3ab63eaa723e7406ba77a5515 /src/rlx_app_discovery.erl | |
parent | 42dcb2a4c2ca74eec5c756767d53317ad8e0c227 (diff) | |
download | relx-f0e0d1acc7e4b645e9dac38e8323bbc1cb8fb03c.tar.gz relx-f0e0d1acc7e4b645e9dac38e8323bbc1cb8fb03c.tar.bz2 relx-f0e0d1acc7e4b645e9dac38e8323bbc1cb8fb03c.zip |
Fix replace os vars functionality
The first run would correctly replace the environment
variables, however it would also overwrite the original
vm.args and sys.config thus preventing any further
substitution in subsequent runs.
Dev mode runs were also broken, all runs after the
first were required to also define the
RELX_REPLACE_OS_VARS variable in order not to
overwrite the current vm.args with the original one,
this prevented simply attaching to an already running
node that was started this way.
Add tests to exercise this functionality.
Diffstat (limited to 'src/rlx_app_discovery.erl')
0 files changed, 0 insertions, 0 deletions