summaryrefslogtreecommitdiff
path: root/bin/check-bugtracker
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-01 08:37:27 +0100
committerErich Eckner <git@eckner.net>2018-03-01 08:37:27 +0100
commit6047f2686cfe623e08fbaf4eae0a552ded731eb1 (patch)
treea4e8df807732b035c3a8d430ddb8cb44565b49cd /bin/check-bugtracker
parent1b15a4704e80853b99eef83a3e26e7735bec2f54 (diff)
downloadbuilder-6047f2686cfe623e08fbaf4eae0a552ded731eb1.tar.xz
switch from calling ${mysql_command} to calling the wrapper function mysql_run_query()
Diffstat (limited to 'bin/check-bugtracker')
-rwxr-xr-xbin/check-bugtracker4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/check-bugtracker b/bin/check-bugtracker
index d6e92e5..f15757b 100755
--- a/bin/check-bugtracker
+++ b/bin/check-bugtracker
@@ -26,7 +26,7 @@ bug_list=$(
printf ' FROM `repository_stabilities`'
printf ' WHERE NOT `repository_stabilities`.`bugtracker_category` IS NULL'
} | \
- ${mysql_command} --raw --batch | \
+ mysql_run_query --raw --batch | \
sed '1d' | \
while read -r stability_id category; do
for has_issues in '1:' '0:NOT '; do
@@ -62,4 +62,4 @@ bug_list=$(
printf '"");\n'
done
done | tee /dev/stderr | \
- ${mysql_command}
+ mysql_run_query