summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/substvars.sh2
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