summaryrefslogtreecommitdiff
path: root/scripts/mysql_fix_privilege_tables.sh
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-04-30 00:14:56 +0300
committerunknown <monty@mysql.com>2004-04-30 00:14:56 +0300
commit36663c4c2472d6561745d916f8937dd039ccf299 (patch)
treeda3e25249012b22011f7f33bea16a5eeeb5269f8 /scripts/mysql_fix_privilege_tables.sh
parentb3e55971ee5e6056a90500543076f089d7c7b84e (diff)
downloadmariadb-git-36663c4c2472d6561745d916f8937dd039ccf299.tar.gz
Portability fixes
mysql-test/mysql-test-run.sh: Avoid 'too many arguments' error mysql-test/t/system_mysql_db_fix-master.opt: Add missing newline scripts/mysql_fix_privilege_tables.sh: Portability fix
Diffstat (limited to 'scripts/mysql_fix_privilege_tables.sh')
-rw-r--r--scripts/mysql_fix_privilege_tables.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_fix_privilege_tables.sh b/scripts/mysql_fix_privilege_tables.sh
index f5f641525cc..2fbcd76c318 100644
--- a/scripts/mysql_fix_privilege_tables.sh
+++ b/scripts/mysql_fix_privilege_tables.sh
@@ -42,7 +42,7 @@ database="mysql"
bindir="@bindir@"
# Old format where there is only one argument and it's the password
-if test "$#" == 1
+if test "$#" = 1
then
case "$1" in
--*) ;;