From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass |
Date: | Sat, 05 Apr 2008 00:43:29 |
Message-Id: | E1JhwVC-0002LH-QD@stork.gentoo.org |
1 | robbat2 08/04/05 00:43:26 |
2 | |
3 | Modified: mysql.eclass |
4 | Log: |
5 | Use the last instance of datadir if we fall to manually processing. |
6 | |
7 | Revision Changes Path |
8 | 1.89 eclass/mysql.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.89&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.89&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.88&r2=1.89 |
13 | |
14 | Index: mysql.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v |
17 | retrieving revision 1.88 |
18 | retrieving revision 1.89 |
19 | diff -p -w -b -B -u -u -r1.88 -r1.89 |
20 | --- mysql.eclass 10 Mar 2008 02:47:20 -0000 1.88 |
21 | +++ mysql.eclass 5 Apr 2008 00:43:26 -0000 1.89 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2007 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.88 2008/03/10 02:47:20 robbat2 Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.89 2008/04/05 00:43:26 robbat2 Exp $ |
27 | |
28 | # Author: Francesco Riosa (Retired) <vivo@g.o> |
29 | # Maintainer: MySQL Team <mysql-bugs@g.o> |
30 | @@ -226,7 +226,8 @@ mysql_init_vars() { |
31 | | tail -n1` |
32 | if [[ -z "${MY_DATADIR}" ]] ; then |
33 | MY_DATADIR=`grep ^datadir "${MY_SYSCONFDIR}/my.cnf" \ |
34 | - | sed -e 's/.*=\s*//'` |
35 | + | sed -e 's/.*=\s*//' \ |
36 | + | tail -n1` |
37 | fi |
38 | fi |
39 | if [[ -z "${MY_DATADIR}" ]] ; then |
40 | |
41 | |
42 | |
43 | -- |
44 | gentoo-commits@l.g.o mailing list |