summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
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/bootstrap-mysql
parent1b15a4704e80853b99eef83a3e26e7735bec2f54 (diff)
downloadbuilder-6047f2686cfe623e08fbaf4eae0a552ded731eb1.tar.xz
switch from calling ${mysql_command} to calling the wrapper function mysql_run_query()
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index b23bba4..236b0b7 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -590,7 +590,7 @@ find "${work_dir}/package-states" -name '*.blocked' -printf '%p %f\n' | \
printf ' `upstream_repositories`.`name`=from_base64("%s");\n' \
"$(printf '%s' "${repository}" | base64 -w0)"
done | \
- ${mysql_command}
+ mysql_run_query
grep '^\('"$(
# shellcheck disable=SC2086
@@ -665,7 +665,7 @@ if [ -s "${tmp_dir}/new-stable-packages" ]; then
printf ';\n'
printf 'DROP TABLE `stable_packages`;\n'
} | \
- ${mysql_command}
+ mysql_run_query
fi
mysql_repair_binary_packages_without_build_assignment