summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 16:08:14 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 16:08:14 (EDT)
commit7f93ffb1839c39e16495c8feb450e9ae00a3777f (patch)
tree1e7a64f9d6422178d523a990b451134c1353c0c7 /lib
parent9c42c79d8789f2c8bf789cb8db47a35ee2221acc (diff)
ob_set_source_substvar(), ob_substvars(): Rename eval'ed var
Diffstat (limited to 'lib')
-rw-r--r--lib/control.sh4
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