diff options
author | morganamilo <morganamilo@gmail.com> | 2019-01-15 23:41:34 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-16 02:23:17 +0100 |
commit | c15f7ae606683b3eb52ae5eaac7afc83cf04859b (patch) | |
tree | 0852dc251c0734410d5c39865d8e29b3da654569 /scripts/libmakepkg/executable/sudo.sh.in | |
parent | a5090217f9ef3961153442577e8632310f79a272 (diff) | |
download | pacman-c15f7ae606683b3eb52ae5eaac7afc83cf04859b.tar.gz pacman-c15f7ae606683b3eb52ae5eaac7afc83cf04859b.tar.xz |
libmakepkg: disallow using 'any' with other arches
Error if the arch array contains any and any other values. This also
fixes a bug where the check for `$arch == 'any'` which only evaluated
the first value in the array, meaning the rest of the values would not
be linted.
Signed-off-by: morganamilo <morganamilo@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/executable/sudo.sh.in')
0 files changed, 0 insertions, 0 deletions