summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index c74d36f..ceab21a 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -305,11 +305,11 @@ echo 'Check modified packages from the last update, and put them to the build li
printf 'SELECT DISTINCT CONCAT('
printf '`package_sources`.`pkgbase`,"/repos/",'
printf '`upstream_repositories`.`name`,"-",'
- printf 'IF(`architectures`.`name`="any","any","x86_64"))'
+ printf 'IF(`build_assignments`.`architecture`=%s,"any","x86_64"))' \
+ "${architecture_ids__any}"
printf ' FROM `binary_packages`'
mysql_join_binary_packages_binary_packages_in_repositories
mysql_join_binary_packages_build_assignments
- mysql_join_build_assignments_architectures
mysql_join_build_assignments_package_sources
mysql_join_package_sources_upstream_repositories
printf ' WHERE `binary_packages_in_repositories`.`repository`=%s;\n' \