summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-06-05 20:26:21 +0200
committerErich Eckner <git@eckner.net>2021-06-05 20:26:21 +0200
commit6f59df0faa06e9e5b2127d8376b12bb1cf2db5fd (patch)
treeb380377a92c28beb05b8b249905b684fe4a7cd9e /bin/bootstrap-mysql
parent8e9130a9d21a2d73f8c354e2a3f1d9ccc6f7ea73 (diff)
downloadbuilder-6f59df0faa06e9e5b2127d8376b12bb1cf2db5fd.tar.xz
make shellcheck happy again
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 711f3d1..fbcbc47 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -695,7 +695,7 @@ fi
printf 'DELIMITER ;\n'
- if [ "x$1" != 'x-no-privileges' ]; then
+ if [ "$1" != '-no-privileges' ]; then
printf 'GRANT %s ON %s TO '"'"'buildmaster'"'"'@'"'"'localhost'"'"';\n' \
'CREATE ROUTINE' 'buildmaster.*' \
'CREATE TEMPORARY TABLES' 'buildmaster.*' \