summaryrefslogtreecommitdiffstats
path: root/checkpkg
diff options
context:
space:
mode:
Diffstat (limited to 'checkpkg')
-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}