summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-03-02 00:52:26 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-03-02 00:52:26 +0000
commitfa7942f1e9126396f7a5070a04808c09951a2676 (patch)
tree8785cd3798e598322c0dbe60501b1911ae9d2aba /eclass
parentVersion bump (diff)
downloadgentoo-2-fa7942f1e9126396f7a5070a04808c09951a2676.tar.gz
gentoo-2-fa7942f1e9126396f7a5070a04808c09951a2676.tar.bz2
gentoo-2-fa7942f1e9126396f7a5070a04808c09951a2676.zip
Replace eqawarn with ewarn - as it's present in all EAPIs
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index a9515725748d..9e251802dfc7 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.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/eutils.eclass,v 1.336 2010/02/26 05:33:57 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.337 2010/03/02 00:52:26 reavertm Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -54,13 +54,11 @@ ebeep() {
else
ebeep() {
- [[ $(type -t eqawarn) == function ]] && \
- eqawarn "QA Notice: ebeep is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org"
+ ewarn "QA Notice: ebeep is not defined in EAPI=${EAPI}, please file a bug at http://bugs.gentoo.org"
}
epause() {
- [[ $(type -t eqawarn) == function ]] && \
- eqawarn "QA Notice: epause is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org"
+ ewarn "QA Notice: epause is not defined in EAPI=${EAPI}, please file a bug at http://bugs.gentoo.org"
}
fi