diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-09-01 14:42:37 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-09-01 14:42:37 (EDT) |
commit | 39cb87ed1d260db077d067a357b98ca83cd33ae8 (patch) | |
tree | cb2b2179bc56f4ab515667eb501921e3476ca8db /lib | |
parent | b7b01105b637cf77248b61d70c036268e2f6f572 (diff) |
substvars: Fix an eval command
Diffstat (limited to 'lib')
-rw-r--r-- | lib/substvars.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/substvars.sh b/lib/substvars.sh index 55bbee9..ac18494 100644 --- a/lib/substvars.sh +++ b/lib/substvars.sh @@ -94,7 +94,7 @@ substvars() # Perform the substitution. name="$(printf '%s\n' "${name}" | tr 'A-Z-' 'a-z_')" - value="$(eval printf '%s\n' "\"\${substvar_${name}}\"")" + value="$(eval "printf '%s\n' \"\${substvar_${name}}\"")" string="${lhs}${value}${rhs}" depth=$(($depth + 1)) done |