diff options
author | Serge Aleynikov <[email protected]> | 2015-12-22 01:51:15 -0500 |
---|---|---|
committer | Serge Aleynikov <[email protected]> | 2015-12-22 01:51:15 -0500 |
commit | a1da1e6415467c8b6ea69d279a3e7a9ed2c3b468 (patch) | |
tree | 0425a93a85d67590e2493573d3fa23433399fdbe /src/rlx_prv_rel_discover.erl | |
parent | 2dd569d09cb1b3e247340af4d6082182fc1dc3dc (diff) | |
download | relx-a1da1e6415467c8b6ea69d279a3e7a9ed2c3b468.tar.gz relx-a1da1e6415467c8b6ea69d279a3e7a9ed2c3b468.tar.bz2 relx-a1da1e6415467c8b6ea69d279a3e7a9ed2c3b468.zip |
Optimize evaluation of environment variables
This patch addresses the following issues:
* When RELX_REPLACE_OS_VARS is set, evaluation of environment vars
is done by the shell rather than awk, this allows to use more
powerful notation of environment variables in sys.config and vm.args
(e.g. `-sname abc@${HOSTNAME,,}` or `{myapp, [{user, ${USER:-unknown}}]}`
* Using shell vars rather than unnecessarily forking awk/grep/etc
Diffstat (limited to 'src/rlx_prv_rel_discover.erl')
0 files changed, 0 insertions, 0 deletions