From 219ec9f1960657f288759dcb65e6093766356f51 Mon Sep 17 00:00:00 2001 From: François Charette Date: Tue, 6 Oct 2009 09:18:02 -0700 Subject: checkpkg: Set CARCH=any when arch=any Fixes FS#16419 Signed-off-by: Aaron Griffin --- checkpkg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'checkpkg') 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} -- cgit v1.2.3-70-g09d2