diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 22:48:06 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 22:48:06 (EDT) |
commit | 24759bcc4ef0e8045626ee4a2d530cc51b1a4a19 (patch) | |
tree | f29b5ba7f41ad32e58c91da9d631e0b207709da1 /src | |
parent | a0ed542851d7698d8e6dcf84956895792166046d (diff) |
src/substvars.sh: Shift function arguments
Diffstat (limited to 'src')
-rw-r--r-- | src/substvars.sh | 2 |
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= |