summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-09-27 04:04:25 +0300
committerunknown <monty@donna.mysql.com>2000-09-27 04:04:25 +0300
commita8d537a28b98e020c1ac358c05ec394620b8c1ce (patch)
treed8b0f9d51ab4423f054478b51c8141a2adbafdb4 /scripts
parent8bd8993cd30c43f0712b555b384676d6906d4def (diff)
downloadmariadb-git-a8d537a28b98e020c1ac358c05ec394620b8c1ce.tar.gz
Fixed mysql_install_db.sh
scripts/mysql_install_db.sh: Added missing variable
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_install_db.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 1c3bad0c534..7172fc8f77b 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -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)}'`