summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-14 15:13:35 +0100
committerErich Eckner <git@eckner.net>2018-03-14 15:13:35 +0100
commit3d758f046fc29327d5ee57dcdadcb10f225d9dde (patch)
tree295080cdc1650bcb6477f84f788a7eba68533bbf /lib
parent569fbf690cee01f6ca1bb039b11a3d6e73de878f (diff)
downloadbuilder-3d758f046fc29327d5ee57dcdadcb10f225d9dde.tar.xz
lib/mysql-functions: i -> _
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index aace33a..2a6eda8 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -34,7 +34,7 @@ mysql_run_query() {
# we save the query in a file and delete that file if the query succeeded
query_file=$(mktemp "${work_dir}/tmp.mysql-functions.query.$(date +'%Y-%m-%dT%T').XXXXXX")
cat > "${query_file}"
- for i in {1..10}; do
+ for _ in {1..10}; do
{
printf '%s %s: ' "$0" "${mysql_command} -N --raw --batch $*"
date