Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-assignment2
-rwxr-xr-xlib/mysql-functions2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 0df5693..7ce2954 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -186,7 +186,7 @@ next_building=$(
printf ') AND ('
mysql_query_is_part_of_loop '`build_assignments`.`id`'
printf ' OR NOT '
- mysql_query_has_pending_dependencies '`architectures`.`name`' '`build_assignments`.`id`'
+ mysql_query_has_pending_dependencies '`architectures`.`id`' '`build_assignments`.`id`'
printf ')'
printf ' AND `binary_packages_in_repositories`.`repository`=%s' \
"${repository_ids__any_build_list}"
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 3874b3a..e7d5b14 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -839,7 +839,7 @@ mysql_cleanup() {
# TODO: we do not need to wait for makedepends, as long as _any_
# available package provides the makedepends
-# mysql_query_has_pending_dependencies builder-architecture `build_assignment`.`id`
+# mysql_query_has_pending_dependencies builder-architecture.id `build_assignment`.`id`
# print a mysql query giving whether dependencies are pending
mysql_query_has_pending_dependencies() {
printf 'EXISTS ('