1 |
robbat2 08/05/29 19:35:51 |
2 |
|
3 |
Modified: mysql.eclass |
4 |
Log: |
5 |
Make FEATURES=-userpriv test non-fatal during pkg_setup, as portage always runs pkg_setup as root, so we cannot detect FEATURES=-userpriv by using UID. |
6 |
|
7 |
Revision Changes Path |
8 |
1.96 eclass/mysql.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.96&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.96&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.95&r2=1.96 |
13 |
|
14 |
Index: mysql.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v |
17 |
retrieving revision 1.95 |
18 |
retrieving revision 1.96 |
19 |
diff -p -w -b -B -u -u -r1.95 -r1.96 |
20 |
--- mysql.eclass 29 May 2008 05:38:48 -0000 1.95 |
21 |
+++ mysql.eclass 29 May 2008 19:35:51 -0000 1.96 |
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.95 2008/05/29 05:38:48 robbat2 Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.96 2008/05/29 19:35:51 robbat2 Exp $ |
27 |
|
28 |
# Author: Francesco Riosa (Retired) <vivo@g.o> |
29 |
# Maintainer: MySQL Team <mysql-bugs@g.o> |
30 |
@@ -471,7 +471,7 @@ mysql_pkg_setup() { |
31 |
if hasq test ${FEATURES} ; then |
32 |
if ! use minimal ; then |
33 |
if [[ $UID -eq 0 ]]; then |
34 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
35 |
+ eerror "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
36 |
fi |
37 |
fi |
38 |
fi |
39 |
|
40 |
|
41 |
|
42 |
-- |
43 |
gentoo-commits@l.g.o mailing list |