summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-03 10:13:07 +0200
committerErich Eckner <git@eckner.net>2018-09-03 10:13:07 +0200
commit8a4b8f39ed0059ee92b42337e11e97683cf58aa7 (patch)
treeccb9197063304ee65febc501af174cd8cebc4915
parenta98a0e3e6250d427b6edbe361afcadbe407c5558 (diff)
downloadbuilder-8a4b8f39ed0059ee92b42337e11e97683cf58aa7.tar.xz
lib/mysql-functions: fix typo
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 2a41766..54c1232 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -46,7 +46,7 @@ mysql_run_query() {
# we save the query in a file and delete that file if the query succeeded
query_stdin=$(mktemp "${work_dir}/tmp.mysql-functions.${file_name_extra}query.$(date +'%Y-%m-%dT%T').XXXXXX.stdin")
query_stdout="${query_stdin%.stdin}.stdout"
- query_stdout="${query_stdin%.stdin}.stderr"
+ query_stderr="${query_stdin%.stdin}.stderr"
cat > "${query_stdin}"
for _ in {1..10}; do
${mysql_command} -N --raw --batch "$@" \