diff options
author | Dave Reisner <dreisner@archlinux.org> | 2018-06-09 21:24:42 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-06-18 05:15:51 +0200 |
commit | a92a36070ad520afe45cb6dacf1de2f0caac612d (patch) | |
tree | 0f87e50d129d61f019c7076d4941611ec7109287 /scripts/libmakepkg/lint_pkgbuild/pkgbase.sh.in | |
parent | 5cf6f614eb418a9e89c0cbfa5fbfac0d502ff668 (diff) | |
download | pacman-a92a36070ad520afe45cb6dacf1de2f0caac612d.tar.gz pacman-a92a36070ad520afe45cb6dacf1de2f0caac612d.tar.xz |
makepkg: fix initialization when extracting arrays
Assuming that everything is a string leads to code which is effectively:
a=
a+=('bar')
This creates an array with 2 elements instead of one. Using proper array
initialization fixes this.
https://lists.archlinux.org/pipermail/pacman-dev/2018-June/022591.html
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/pkgbase.sh.in')
0 files changed, 0 insertions, 0 deletions