Hi,
I tried to install 4.1 (Bitkeeper tree) on SPARC Solaris 9 today. There is a line in mysql_install_db that is bash-specific and does not run with /bin/sh (at least not on my system):
# scripts/mysql_install_db Installing all prepared tables scripts/mysql_install_db: syntax error at line 215: `!' unexpected
Here's one way to fix it:
--- mysql_install_db.sh.bak 2004-05-05 20:31:44.229743000 +0200
+++ mysql_install_db.sh 2004-05-05 20:31:47.757285000 +0200
@@ -212,9 +212,10 @@
then
echo "Fill help tables"
fi
- if ! (echo "use mysql;
+ (echo "use mysql;
"
cat $fill_help_tables) | eval "$mysqld_install_cmd_line"
+ if test "$?" != "0"
then
echo ""
echo "WARNING: HELP FILES ARE NOT COMPLETELY INSTALLED!"(I assume that 0 is the expected result when the command is successful)
Hans-Peter
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
