eclass/mysql-multilib-r1: Fix quoting in initial config

This commit is contained in:
Brian Evans
2017-03-28 10:51:22 -04:00
parent 2038aac41c
commit 243166f89e

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: mysql-multilib.eclass
@@ -942,7 +942,7 @@ mysql-multilib-r1_pkg_config() {
# --initialize-insecure will not set root password
# --initialize would set a random one in the log which we don't need as we set it ourselves
cmd=( "${EROOT}usr/sbin/mysqld" )
initialize_options="--initialize-insecure '--init-file=${sqltmp}'"
initialize_options="--initialize-insecure --init-file='${sqltmp}'"
sqltmp="" # the initialize will take care of it
else
cmd=( "${EROOT}usr/share/mysql/scripts/mysql_install_db" )