summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2013-01-20 02:41:59 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2013-01-20 02:41:59 +0000
commit8a59ec760200cf2c2c2ce96a9985a781fa4c12dd (patch)
treebde266a747931df6adbe8bfc3a8e6412cc662082 /eclass
parentBug #430836: eprefix paths in my.cnf. (diff)
downloadgentoo-2-8a59ec760200cf2c2c2ce96a9985a781fa4c12dd.tar.gz
gentoo-2-8a59ec760200cf2c2c2ce96a9985a781fa4c12dd.tar.bz2
gentoo-2-8a59ec760200cf2c2c2ce96a9985a781fa4c12dd.zip
Bug #402803: keepdir fix.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql-autotools.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/mysql-autotools.eclass b/eclass/mysql-autotools.eclass
index e0a6bdb66111..71dba317f4b4 100644
--- a/eclass/mysql-autotools.eclass
+++ b/eclass/mysql-autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-autotools.eclass,v 1.11 2013/01/20 02:23:10 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-autotools.eclass,v 1.12 2013/01/20 02:41:59 robbat2 Exp $
# @ECLASS: mysql-autotools.eclass
# @MAINTAINER:
@@ -605,9 +605,8 @@ mysql-autotools_src_install() {
einfo "Creating initial directories"
# Empty directories ...
diropts "-m0750"
+ keepdir "${MY_DATADIR#${EPREFIX}}"
if [[ "${PREVIOUS_DATADIR}" != "yes" ]] ; then
- dodir "${MY_DATADIR#${EPREFIX}}"
- keepdir "${MY_DATADIR#${EPREFIX}}"
chown -R mysql:mysql "${D}/${MY_DATADIR}"
fi