diff options
author | Ivy Foster <joyfulgirl@archlinux.us> | 2015-03-20 19:19:56 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-03-26 14:42:22 +1000 |
commit | b543c055b9607161e6bd47b9d3709243057c8771 (patch) | |
tree | d0f7dc7c0bde563ce66cedfe08843cc22d5fcd05 /scripts/libmakepkg/lint_pkgbuild/pkgname.sh.in | |
parent | b8f2d713e00c453efab035f467d63508897f08ea (diff) |
Make get_pkg_arch treat arch as an array
We use the get_pkg_arch function with the package name parameter in two places:
1) checking if the package is already built
2) installing build packages
Currently this failed when a package override for "arch" was an array, despite
all our documentation stating that it is indeed an array. This change makes
these two places fail if there is package override for arch that is not an
array - i.e. of the form arch='i686'.
Signed-off-by: Ivy Foster <joyfulgirl@archlinux.us>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/pkgname.sh.in')
0 files changed, 0 insertions, 0 deletions