summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-08-08 23:31:05 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-08-08 23:31:05 +0000
commit23eae020a4d1e7ff868fe45fdd67147a33aafa5f (patch)
tree7ed2672d871ad8fc254c4907f625cef060f39fbf /eclass/mysql.eclass
parentversion bump (diff)
downloadgentoo-2-23eae020a4d1e7ff868fe45fdd67147a33aafa5f.tar.gz
gentoo-2-23eae020a4d1e7ff868fe45fdd67147a33aafa5f.tar.bz2
gentoo-2-23eae020a4d1e7ff868fe45fdd67147a33aafa5f.zip
Bring in a patch from the overlay so we can override bad tarball packaging.
Diffstat (limited to 'eclass/mysql.eclass')
-rw-r--r--eclass/mysql.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 61519fd8a1aa..f4cd25539f57 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.146 2010/05/13 19:45:47 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.147 2010/08/08 23:31:05 robbat2 Exp $
# @ECLASS: mysql.eclass
# @MAINTAINER:
@@ -367,8 +367,10 @@ mysql_init_vars() {
fi
fi
- MY_SOURCEDIR=${SERVER_URI##*/}
- MY_SOURCEDIR=${MY_SOURCEDIR%.tar*}
+ if [ "${MY_SOURCEDIR:-unset}" == "unset" ]; then
+ MY_SOURCEDIR=${SERVER_URI##*/}
+ MY_SOURCEDIR=${MY_SOURCEDIR%.tar*}
+ fi
export MY_SHAREDSTATEDIR MY_SYSCONFDIR
export MY_LIBDIR MY_LOCALSTATEDIR MY_LOGDIR