summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick 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)
commitd88109911f14edbfdf063f6c90ffff330206f2a3 (patch)
treec77f89172d14d8ea9747c1508990aab0d8f8bab4
parentb6aaff30ce63262d965df48483d7f614c88c0967 (diff)
substvars(): Fix undefined variable
-rw-r--r--src/substvars.sh2
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}"