1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Shell portability fix.

scripts/mysql_install_db.sh:
  Use "test !" instead of "! test", as the
  latter does not work on certain shells.
This commit is contained in:
unknown
2007-11-29 16:40:46 +00:00
parent e7a7957553
commit 854d0fa176

View File

@ -181,14 +181,14 @@ parse_arguments PICK-ARGS-FROM-ARGV "$@"
if test -n "$basedir"
then
print_defaults=`find_in_basedir my_print_defaults bin extra`
if ! test -x "$print_defaults"
if test ! -x "$print_defaults"
then
missing_in_basedir my_print_defaults
exit 1
fi
else
print_defaults="@bindir@/my_print_defaults"
if ! test -x "$print_defaults"
if test ! -x "$print_defaults"
then
echo "FATAL ERROR: Could not find $print_defaults"
echo
@ -223,7 +223,7 @@ else
exit 1
fi
mysqld=`find_in_basedir mysqld libexec sbin bin`
if ! test -x "$mysqld"
if test ! -x "$mysqld"
then
missing_in_basedir mysqld
exit 1