Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-19 09:35:25 +0200
committerErich Eckner <git@eckner.net>2019-07-19 09:35:25 +0200
commit6e7568345d145556a00ae2fd0b2d48558131a364 (patch)
treea588453e257f39bc83976c6c9b07fc337af111c6 /bin/get-assignment
parent3d7f8cd64ccca86a39d0a32d42d44f5b63d0765c (diff)
bin/get-assignment: repair architecture-compatibility-logic
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 9dcb600..53b2c8f 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -345,10 +345,10 @@ next_building=$(
mysql_join_binary_packages_in_repositories_repositories
printf ' AND `repositories`.`is_on_master_mirror`'
printf ' JOIN `architecture_compatibilities`'
- printf ' ON `repositories`.`architecture`=`architecture_compatibilities`.`runs_on`'
+ printf ' ON `repositories`.`architecture`=`architecture_compatibilities`.`built_for`'
printf ' AND `architecture_compatibilities`.`build_slave_compatible`'
printf ' JOIN `architectures`'
- printf ' ON `architectures`.`id`=`architecture_compatibilities`.`built_for`'
+ printf ' ON `architectures`.`id`=`architecture_compatibilities`.`runs_on`'
printf ' AND `architectures`.`name`=from_base64("%s")' \
"${arch}"
mysql_join_binary_packages_in_repositories_binary_packages