summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-06 10:41:33 +0100
committerErich Eckner <git@eckner.net>2018-02-06 10:41:33 +0100
commit057caf194aa7a9ecd49fba424d34065190304608 (patch)
tree3ecf8d3a3d7cd6a484d519e74ad840a0e9b509b6
parent668b94e67649d45d3bd7dacf075dab14428ce24b (diff)
downloadbuilder-057caf194aa7a9ecd49fba424d34065190304608.tar.xz
bin/build-master-status-from-mysql: is_to_be_deleted should be considered on the deletion-list, too
-rwxr-xr-xbin/build-master-status-from-mysql3
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 '