Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates5
1 files changed, 4 insertions, 1 deletions
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