fix script path

This commit is contained in:
2025-06-21 13:20:32 +02:00
parent da32b2521b
commit 59a56f0898
2 changed files with 8 additions and 0 deletions

View File

@ -8,7 +8,9 @@ section_array_fields=(arch groups license noextract options backup validpgpkeys
section_fields=("${section_scalar_fields[@]}" "${section_array_fields[@]}")
# load PKGBUILD
set -e
source "${1:-./PKGBUILD}"
set +e
# check if a variable is an array
is_array() {