summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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