Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-14 10:43:01 +0100
committerErich Eckner <git@eckner.net>2018-03-14 10:43:01 +0100
commit73409ac0d623289da164be28c78286434ab4706e (patch)
tree189b351f0a6c770ebda05b2ae37340ff801216af /bin/bootstrap-mysql
parent2c75afd19063d02a725ae0cf0a8c3572b1f45a07 (diff)
bin/bootstrap-mysql: use mysql_run_query, too
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 06bbd7f..d18247e 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -526,7 +526,7 @@ if [ ! "$1" = 'slim' ]; then
'SHOW VIEW' 'buildmaster.*'
printf 'FLUSH PRIVILEGES;\n'
} | \
- mysql -u root -p buildmaster
+ mysql_run_query -u root -p
fi
# shellcheck disable=SC2016
@@ -770,7 +770,7 @@ fi
} | \
sed 's|,;|;|'
} | \
- mysql buildmaster
+ mysql_run_query
find "${work_dir}/package-states" \
-maxdepth 1 \