summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Charette <francois@archlinux.org>2009-10-06 09:18:02 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-10-06 09:18:02 -0700
commit219ec9f1960657f288759dcb65e6093766356f51 (patch)
tree6c469b2da81058f0079c37af7d570b1ca4a57be2
parent14947cf64521e4a892ad0c7928428ec057c55bbd (diff)
downloaddevtools-219ec9f1960657f288759dcb65e6093766356f51.tar.xz
checkpkg: Set CARCH=any when arch=any
Fixes FS#16419 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xcheckpkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/checkpkg b/checkpkg
index ec181bd..e9426a6 100755
--- a/checkpkg
+++ b/checkpkg
@@ -23,7 +23,9 @@ if [ ! -f PKGBUILD ]; then
fi
source PKGBUILD
-
+if [ "$arch" == "any" ]; then
+ CARCH="any"
+fi
pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT}
oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}${PKGEXT}