Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/check-bugtracker
diff options
context:
space:
mode:
Diffstat (limited to 'bin/check-bugtracker')
-rwxr-xr-xbin/check-bugtracker5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/check-bugtracker b/bin/check-bugtracker
index f15757b..156f438 100755
--- a/bin/check-bugtracker
+++ b/bin/check-bugtracker
@@ -26,8 +26,7 @@ bug_list=$(
printf ' FROM `repository_stabilities`'
printf ' WHERE NOT `repository_stabilities`.`bugtracker_category` IS NULL'
} | \
- mysql_run_query --raw --batch | \
- sed '1d' | \
+ mysql_run_query -N --raw --batch | \
while read -r stability_id category; do
for has_issues in '1:' '0:NOT '; do
printf 'UPDATE `binary_packages`'
@@ -61,5 +60,5 @@ bug_list=$(
tr '\n' ','
printf '"");\n'
done
- done | tee /dev/stderr | \
+ done | \
mysql_run_query