shutils/pkgtarget.sh: fix check for noarch
This commit is contained in:
parent
7c4f62a513
commit
c8129e7d38
|
@ -3,7 +3,7 @@
|
|||
check_pkg_arch() {
|
||||
local cross="$1" _arch f match nonegation
|
||||
|
||||
if [ -n "$archs" -o "${archs// /}" != "noarch" ]; then
|
||||
if [ -n "$archs" -a "${archs// /}" != "noarch" ]; then
|
||||
if [ -n "$cross" ]; then
|
||||
_arch="$XBPS_TARGET_MACHINE"
|
||||
elif [ -n "$XBPS_ARCH" ]; then
|
||||
|
|
Loading…
Reference in New Issue