summaryrefslogtreecommitdiff
path: root/bin/modify-package-state
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-07 10:16:05 +0100
committerErich Eckner <git@eckner.net>2017-11-07 10:16:05 +0100
commit686a5a9e48946657c3e489bb2f5ce9e3ef4b34cc (patch)
tree6814ab292cb1178048b925553d49c95418a113c8 /bin/modify-package-state
parentf98072f6d086d128071047d4a4ad5db560686c12 (diff)
downloadbuilder-686a5a9e48946657c3e489bb2f5ce9e3ef4b34cc.tar.xz
bin/check-bugtracker, bin/common-functions, bin/modify-package-state: adopt to categories of bugtracker
Diffstat (limited to 'bin/modify-package-state')
-rwxr-xr-xbin/modify-package-state4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/modify-package-state b/bin/modify-package-state
index 6ccec6a..4798754 100755
--- a/bin/modify-package-state
+++ b/bin/modify-package-state
@@ -134,7 +134,7 @@ if ! flock -s -n 9; then
fi
if [ "${action}" = 'tested' ]; then
- receive_buglist > \
+ receive_buglist 'Testing' > \
"${tmp_dir}/package-bug-titles"
fi
@@ -186,7 +186,7 @@ fi
;;
'tested')
if [ -f "${work_dir}/package-states/${package}.testing" ] && \
- ! package_has_bug "${package}" < "${tmp_dir}/package-bug-titles"; then
+ ! grep -qF "[${package}]" "${tmp_dir}/package-bug-titles"; then
mv \
"${work_dir}/package-states/${package}.testing" \
"${work_dir}/package-states/${package}.tested"