Limit scope of name and a variable to avoid conflict with PKGBUILD scripts.

This commit is contained in:
bartus 2024-03-19 12:43:00 +00:00
parent b59d68a209
commit 082094a1d8

View file

@ -134,7 +134,7 @@ get_pkgbuild_attribute() {
}
get_pkgbuild_all_split_attributes() {
local attrname=$1 outputvar=$2 all_list list
local attrname=$1 outputvar=$2 all_list list name a
if extract_global_variable "$attrname" 1 list; then
all_list+=("${list[@]}")