diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-09-01 14:41:28 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-09-01 14:41:28 (EDT) |
commit | 50a489ad2804b853bc429b1eb0757d5c4e921943 (patch) | |
tree | cf0d5ca3ec3863a65edf0497fb943f3bf89acd3e /lib | |
parent | 41f550e1d9820eda77e4703e167fcd1baace22df (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 78de7e3..457fb9f 100644 --- a/lib/substvars.sh +++ b/lib/substvars.sh @@ -94,7 +94,7 @@ substvars() # Perform the substitution. name="$(echo "${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 |