Commit c3ee2b72 authored by unknown's avatar unknown

Fixed mysql_install_db.sh


scripts/mysql_install_db.sh:
  Added missing variable
parent 6640260b
...@@ -59,6 +59,7 @@ do ...@@ -59,6 +59,7 @@ do
# This could easily be rewritten to gather [xxxxx]-specific entries, # This could easily be rewritten to gather [xxxxx]-specific entries,
# but for now it looks like only the mysqld ones are needed for # but for now it looks like only the mysqld ones are needed for
# server startup scripts # server startup scripts
thevar=""
eval `sed -n -e '/^$/d' -e '/^#/d' -e 's,[ ],,g' -e '/=/p' $c |\ 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)}'` awk -F= -v v=$v '{if ($1 == v) printf ("thevar=\"%s\"\n", $2)}'`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment