From 50a489ad2804b853bc429b1eb0757d5c4e921943 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 01 Sep 2014 14:41:28 -0400 Subject: substvars: Fix an eval command --- (limited to 'lib') 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 -- cgit v0.9.1