Fixed mysql_install_db.sh

scripts/mysql_install_db.sh:
  Added missing variable
This commit is contained in:
unknown 2000-09-27 04:04:25 +03:00
parent 8bd8993cd3
commit a8d537a28b

View File

@ -59,6 +59,7 @@ do
# This could easily be rewritten to gather [xxxxx]-specific entries,
# but for now it looks like only the mysqld ones are needed for
# server startup scripts
thevar=""
eval `sed -n -e '/^$/d' -e '/^#/d' -e 's,[ ],,g' -e '/=/p' $c |\
awk -F= -v v=$v '{if ($1 == v) printf ("thevar=\"%s\"\n", $2)}'`