checkpkg: Set CARCH=any when arch=any

Fixes FS#16419

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
François Charette 2009-10-06 09:18:02 -07:00 committed by Aaron Griffin
parent 14947cf645
commit 219ec9f196
1 changed files with 3 additions and 1 deletions

View File

@ -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}