Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
diff options
context:
space:
mode:
Diffstat (limited to 'bin/why-dont-you')
-rwxr-xr-xbin/why-dont-you6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index 28f690e..614cd15 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -35,7 +35,7 @@ case "${action}" in
) | \
sed 's/,$/;\n/'
# we select everything which is possibly of any interest:
- # - id (to see if it actually is on the build-list
+ # - id (to see if it actually is on the build-list)
# - build_assignments.architecture.name
# - to_build.is_broken
# - failed_builds_count
@@ -86,13 +86,13 @@ case "${action}" in
mysql_join_package_sources_build_assignments 'dep_ps' 'dep_ba'
mysql_join_build_assignments_binary_packages 'dep_ba' 'dep_bin'
mysql_join_binary_packages_binary_packages_in_repositories 'dep_bin' 'dep_bir'
- mysql_join_binary_packages_in_repositories_repositories 'dep_bir' 'dep_rep'
# now we have some (=3) additional joins,
# because we are interested in dependency relations to `to_build`
mysql_join_binary_packages_install_target_providers 'dep_bin'
mysql_join_install_target_providers_dependencies_with_versions
mysql_join_dependencies_dependency_types
- printf ' WHERE `dep_rep`.`name`="build-list"'
+ printf ' WHERE `dep_bir`.`repository`=%s' \
+ "${repository_ids__any_build_list}"
printf ' AND `dependency_types`.`relevant_for_building`'
printf ') AS `deps`'
printf ' ON `deps`.`dependent`=`to_build`.`bin_id`'