Fixed mysql_install_db.sh
scripts/mysql_install_db.sh: Added missing variable
This commit is contained in:
parent
8bd8993cd3
commit
a8d537a28b
@ -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)}'`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user