diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-30 00:25:10 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-30 00:25:10 (EDT) |
commit | d88109911f14edbfdf063f6c90ffff330206f2a3 (patch) | |
tree | c77f89172d14d8ea9747c1508990aab0d8f8bab4 /src/substvars.sh | |
parent | b6aaff30ce63262d965df48483d7f614c88c0967 (diff) |
substvars(): Fix undefined variable
Diffstat (limited to 'src/substvars.sh')
-rw-r--r-- | src/substvars.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/substvars.sh b/src/substvars.sh index 2fe15c1..bc0b052 100644 --- a/src/substvars.sh +++ b/src/substvars.sh @@ -102,8 +102,6 @@ substvars() # Perform the substitution. name_tr="$(printf '%s' "${name}" | tr 'A-Z-' 'a-z_')" - package="$(printf '%s' "${package}" | tr 'A-Z' 'a-z' | \ - tr -dC 'a-z0-9')" if eval "[ x\"\${substvar_${name_tr}:+set}\" = x'set' ]" then name_tr="substvar_${name_tr}" |