summaryrefslogtreecommitdiffstats
path: root/src/substvars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/substvars.sh')
-rw-r--r--src/substvars.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/substvars.sh b/src/substvars.sh
index ee845e3..2fe15c1 100644
--- a/src/substvars.sh
+++ b/src/substvars.sh
@@ -33,6 +33,7 @@ set_substvar()
{
local name="${1}"
local value="${2}"
+ shift 2
# Validate variable name and convert to lower case.
case "${name}" in *[!A-Za-z0-9-]* | '')
@@ -53,6 +54,7 @@ set_substvar()
substvars()
{
local string="${1}"
+ shift 1
local depth=
local lhs=
local name=