Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/copy-to-build-support
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/copy-to-build-support
parent1b15a4704e80853b99eef83a3e26e7735bec2f54 (diff)
switch from calling ${mysql_command} to calling the wrapper function mysql_run_query()
Diffstat (limited to 'bin/copy-to-build-support')
-rwxr-xr-xbin/copy-to-build-support4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support
index 808d041..0b87107 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -44,7 +44,7 @@ sed -n '
"$(printf '%s' "${architecture}" | base64 -w0)"
printf ' LIMIT 1;\n'
} | \
- ${mysql_command} --raw --batch | \
+ mysql_run_query --raw --batch | \
sed '
1d
y/\t/ /
@@ -123,7 +123,7 @@ ${master_mirror_rsync_command} \
"${master_mirror_rsync_directory}/i686/build-support/"
if [ -s "${tmp_dir}/mysql-command" ]; then
- ${mysql_command} < \
+ mysql_run_query < \
"${tmp_dir}/mysql-command"
fi