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