eclass/mysql-multilib-r1: Fix quoting in initial config
authorBrian Evans <grknight@gentoo.org>
Tue, 28 Mar 2017 14:51:22 +0000 (10:51 -0400)
committerBrian Evans <grknight@gentoo.org>
Tue, 28 Mar 2017 14:51:22 +0000 (10:51 -0400)
eclass/mysql-multilib-r1.eclass

index ad8b1aadb01071a7e65756f6e322521082c32520..e2a066ae850da4f3a48a6f7e64d86260eb9401a3 100644 (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" )