diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/control.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/control.sh b/lib/control.sh index 37123dd..d25527f 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -211,7 +211,7 @@ ob_set_source_substvar() # Trim leading and trailing whitespace from value. value="$(printf '%s' "${value}" | sed -n "${_OB_SUBSTVAR_TRIM_SED}")" - eval "_OB_SUBSTVAR_${name}=\"\${value}\"" + eval "_OB_SUBSTVAR_SRC_${name}=\"\${value}\"" return 0 } @@ -279,7 +279,7 @@ ob_substvars() ${name} EOF )" - value="$(eval "printf '%s' \"\${_OB_SUBSTVAR_${name}}\"")" + value="$(eval "printf '%s' \"\${_OB_SUBSTVAR_SRC_${name}}\"")" string="${lhs}${value}${rhs}" depth=$((${depth} + 1)) done |