Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: eutils.eclass
Date: Tue, 02 Mar 2010 00:52:31
Message-Id: E1NmGLb-0003sl-0r@stork.gentoo.org
1 reavertm 10/03/02 00:52:27
2
3 Modified: eutils.eclass
4 Log:
5 Replace eqawarn with ewarn - as it's present in all EAPIs
6
7 Revision Changes Path
8 1.337 eclass/eutils.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/eutils.eclass?rev=1.337&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/eutils.eclass?rev=1.337&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/eutils.eclass?r1=1.336&r2=1.337
13
14 Index: eutils.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v
17 retrieving revision 1.336
18 retrieving revision 1.337
19 diff -u -r1.336 -r1.337
20 --- eutils.eclass 26 Feb 2010 05:33:57 -0000 1.336
21 +++ eutils.eclass 2 Mar 2010 00:52:26 -0000 1.337
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.336 2010/02/26 05:33:57 abcd Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.337 2010/03/02 00:52:26 reavertm Exp $
27
28 # @ECLASS: eutils.eclass
29 # @MAINTAINER:
30 @@ -54,13 +54,11 @@
31 else
32
33 ebeep() {
34 - [[ $(type -t eqawarn) == function ]] && \
35 - eqawarn "QA Notice: ebeep is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org"
36 + ewarn "QA Notice: ebeep is not defined in EAPI=${EAPI}, please file a bug at http://bugs.gentoo.org"
37 }
38
39 epause() {
40 - [[ $(type -t eqawarn) == function ]] && \
41 - eqawarn "QA Notice: epause is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org"
42 + ewarn "QA Notice: epause is not defined in EAPI=${EAPI}, please file a bug at http://bugs.gentoo.org"
43 }
44
45 fi