index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-09 14:48:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-09 14:48:33 +0200 |
commit | 548deba2f8cdebc4c20f3a8fb9936ae6be8a717f (patch) | |
tree | bef701d79ad1dfb4ae62eb233475ba08118aff43 | |
parent | 0708ebe2ef93780bb7b7885ea140e2b1458a9c13 (diff) |
-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 |