Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 24c5c3f..164fe9d 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -765,10 +765,7 @@ mysql_find_build_assignment_loops() {
"${repository_ids__any_build_list}"
printf ' AND `packages_in_repository_dependency`.`repository`=%s' \
"${repository_ids__any_build_list}"
- printf ' AND ('
- printf '`dependency_types`.`relevant_for_building`'
- printf ' OR `dependency_types`.`relevant_for_building`'
- printf ');\n'
+ printf ' AND `dependency_types`.`relevant_for_building`;\n'
} | \
mysql_run_query | \
tr '\t' ' ' | \