summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-01 13:15:56 +0200
committerErich Eckner <git@eckner.net>2018-09-01 13:15:56 +0200
commit77a984b37ebf4ac0f6727cd09bddd56da839b32a (patch)
tree638dafa53e55b872076302246498096dd9f64f23 /lib
parent83f6c3d725ebbe223ff32e6e0c7d9f8400324a38 (diff)
downloadbuilder-77a984b37ebf4ac0f6727cd09bddd56da839b32a.tar.xz
lib/mysql-functions: clean up
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' ' ' | \