diff options
author | Tristan Sloughter <[email protected]> | 2017-11-21 09:30:25 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2017-11-21 09:30:25 -0800 |
commit | ea518947cb2687033a6b336af9fa322066eda45b (patch) | |
tree | 780f06b2d9419af28049e11c9319988fa4803660 /priv/templates | |
parent | c76c089b86e022a7544b4bf9ae964372c9f07e48 (diff) | |
download | relx-ea518947cb2687033a6b336af9fa322066eda45b.tar.gz relx-ea518947cb2687033a6b336af9fa322066eda45b.tar.bz2 relx-ea518947cb2687033a6b336af9fa322066eda45b.zip |
Revert "Only print lines for os var that are set"
Diffstat (limited to 'priv/templates')
-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" } |