From: Mike Frysinger Date: Thu, 9 Dec 2004 14:20:13 +0000 (+0000) Subject: add warning about live cvs ebuilds X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c41990002325de4944877ebd8f4a95647de78bde;p=gentoo.git add warning about live cvs ebuilds --- diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index e609f97c348b..c17bbc2f5d5e 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.35 2004/11/17 15:40:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.36 2004/12/09 14:20:13 vapier Exp $ # # Author: vapier@gentoo.org @@ -53,11 +53,16 @@ case ${ECVS_STATE} in esac enlightenment_warning_msg() { - if [ "${PV/200}" != "${PV}" ] ; then + if [[ ${PV/200} != ${PV} ]] ; then ewarn "Please do not contact the E team about bugs in Gentoo." ewarn "Only contact vapier@gentoo.org via e-mail or bugzilla." ewarn "Remember, this stuff is CVS only code so dont cry when" ewarn "I break you :)." + elif [[ ${PV/9999} != ${PV} ] ; then + eerror "This is a LIVE CVS ebuild." + eerror "That means there are NO promises it will work." + eerror "If it fails to build, FIX THE CODE YOURSELF" + eerror "before reporting any issues." fi }