index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/get-package-updates | 5 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index 00b11e1..9a3d8b1 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -214,7 +214,10 @@ while read -r package git_revision mod_git_revision repository; do ( cd "${PKGBUILD%/*}" apply_package_customizations - mksrcinfo -o "${file_prefix}.SRCINFO" + grep -q '\$CARCH' 'PKGBUILD' && \ + CARCH=i686 makepkg --printsrcinfo > \ + "${file_prefix}.SRCINFO" || \ + mksrcinfo -o "${file_prefix}.SRCINFO" ) # otherwise this just calls for trouble |