From: Maciej Mrozowski Date: Tue, 2 Mar 2010 00:52:26 +0000 (+0000) Subject: Replace eqawarn with ewarn - as it's present in all EAPIs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f63fcecc12d99873c7e1390750660312148c9fc6;p=gentoo.git Replace eqawarn with ewarn - as it's present in all EAPIs --- 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