Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index abc80dd6..22679f76 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1672,7 +1672,7 @@ restore_package_variables() {
}
run_split_packaging() {
- local pkgname_backup=${pkgname[@]}
+ local pkgname_backup=("${pkgname[@]}")
for pkgname in ${pkgname_backup[@]}; do
pkgdir="$pkgdirbase/$pkgname"
mkdir "$pkgdir"
@@ -1684,7 +1684,7 @@ run_split_packaging() {
create_debug_package
restore_package_variables
done
- pkgname=${pkgname_backup[@]}
+ pkgname=("${pkgname_backup[@]}")
}
m4_include(library/parseopts.sh)