diff options
author | Luis Rascão <[email protected]> | 2017-11-21 18:38:41 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2017-11-21 18:38:41 +0000 |
commit | 63847133b4e171888f46e11b34dd00d2aa4ed081 (patch) | |
tree | 780f06b2d9419af28049e11c9319988fa4803660 /priv | |
parent | c76c089b86e022a7544b4bf9ae964372c9f07e48 (diff) | |
parent | ea518947cb2687033a6b336af9fa322066eda45b (diff) | |
download | relx-3.24.3.tar.gz relx-3.24.3.tar.bz2 relx-3.24.3.zip |
Merge pull request #627 from erlware/revert-586-feature/replace-defined-os-varsv3.24.3
Revert "Only print lines for os var that are set"
Diffstat (limited to 'priv')
-rwxr-xr-x | priv/templates/extended_bin | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index baa239c..e8404ea 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -223,8 +223,7 @@ replace_os_vars() { awk '{ while(match($0,"[$]{[^}]*}")) { var=substr($0,RSTART+2,RLENGTH -3) - if (ENVIRON[var]) gsub("[$]{"var"}",ENVIRON[var]); - else next + gsub("[$]{"var"}",ENVIRON[var]) } }1' < "$1" > "$2" } |