diff options
author | Erich Eckner <git@eckner.net> | 2018-09-01 13:15:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-01 13:15:56 +0200 |
commit | 77a984b37ebf4ac0f6727cd09bddd56da839b32a (patch) | |
tree | 638dafa53e55b872076302246498096dd9f64f23 /lib | |
parent | 83f6c3d725ebbe223ff32e6e0c7d9f8400324a38 (diff) | |
download | builder-77a984b37ebf4ac0f6727cd09bddd56da839b32a.tar.xz |
lib/mysql-functions: clean up
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 5 |
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' ' ' | \ |