2011-01-27 22:41:46 +00:00
|
|
|
--- a/scripts/mysql_install_db.sh
|
|
|
|
+++ b/scripts/mysql_install_db.sh
|
|
|
|
@@ -317,7 +317,7 @@ then
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Try to determine the hostname
|
|
|
|
-hostname=`@HOSTNAME@`
|
2011-01-27 22:43:17 +00:00
|
|
|
+hostname=`cat /proc/sys/kernel/hostname`
|
2011-01-27 22:41:46 +00:00
|
|
|
|
|
|
|
# Check if hostname is valid
|
|
|
|
if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0
|