[arch-dev-public] [PATCH] Fix FS#16419: CARCH=any when arch=any

Francois Charette francois at archlinux.org
Fri Oct 2 03:08:06 EDT 2009


---
 checkpkg |    4 +++-
 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}
 
-- 
1.6.4.4



More information about the arch-dev-public mailing list