From d88109911f14edbfdf063f6c90ffff330206f2a3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 30 Apr 2019 00:25:10 -0400 Subject: substvars(): Fix undefined variable --- (limited to 'src') 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}" -- cgit v0.9.1