index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Benjamin Yates <benjamin@rqdq.com> | 2015-10-27 16:22:57 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-10-28 13:26:25 +1000 |
commit | 1142a32c7f6f8ab82528581277b7c7cac6b2d1ae (patch) | |
tree | 2a0722c621c3f65efedb8efdc5382b30b2ef802f /scripts/makepkg.sh.in | |
parent | 960b64553db7c738202d5108abff77af0bdb87b5 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
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) |