aboutsummaryrefslogtreecommitdiff
path: root/common/xbps-src/shutils/pkgtarget.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/xbps-src/shutils/pkgtarget.sh')
-rw-r--r--common/xbps-src/shutils/pkgtarget.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xbps-src/shutils/pkgtarget.sh b/common/xbps-src/shutils/pkgtarget.sh
index e064b7c2911..6c6f03ff726 100644
--- a/common/xbps-src/shutils/pkgtarget.sh
+++ b/common/xbps-src/shutils/pkgtarget.sh
@@ -3,7 +3,7 @@
check_pkg_arch() {
local cross="$1" _arch f match nonegation
- if [ -n "$archs" -a "${archs// /}" != "noarch" ]; then
+ if [ -n "$archs" ]; then
if [ -n "$cross" ]; then
_arch="$XBPS_TARGET_MACHINE"
elif [ -n "$XBPS_ARCH" ]; then