summaryrefslogtreecommitdiff
path: root/eclass
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
commitf850a73c7638f4f192ed87e393a5f7833ecc35c8 (patch)
tree233b1495f4eac9908f694f67175978cab9450ee9 /eclass
parentversion bump (diff)
downloadhistorical-f850a73c7638f4f192ed87e393a5f7833ecc35c8.tar.gz
historical-f850a73c7638f4f192ed87e393a5f7833ecc35c8.tar.bz2
historical-f850a73c7638f4f192ed87e393a5f7833ecc35c8.zip
Bring in a patch from the overlay so we can override bad tarball packaging.
Diffstat (limited to '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