aboutsummaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/extended_bin3
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"
}