diff options
author | Erich Eckner <git@eckner.net> | 2018-02-06 10:41:33 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-06 10:41:33 +0100 |
commit | 057caf194aa7a9ecd49fba424d34065190304608 (patch) | |
tree | 3ecf8d3a3d7cd6a484d519e74ad840a0e9b509b6 | |
parent | 668b94e67649d45d3bd7dacf075dab14428ce24b (diff) | |
download | builder-057caf194aa7a9ecd49fba424d34065190304608.tar.xz |
bin/build-master-status-from-mysql: is_to_be_deleted should be considered on the deletion-list, too
-rwxr-xr-x | bin/build-master-status-from-mysql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index 8e828f7..408ef1e 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -40,7 +40,8 @@ sort "${work_dir}/build-list" > \ 'build_assignments' 'build_assignments' 'package_source' 'package_sources' \ 'binary_packages' 'binary_packages' 'build_assignment' 'build_assignments' \ 'repositories' 'binary_packages' 'repository' 'repositories' - printf ' WHERE `repositories`.`name`="deletion-list";\n' + printf ' WHERE `repositories`.`name`="deletion-list"' + printf ' OR `binary_packages`.`is_to_be_deleted`;\n' } | \ ${mysql_command} --batch | \ sed ' |