add warning about live cvs ebuilds
authorMike Frysinger <vapier@gentoo.org>
Thu, 9 Dec 2004 14:20:13 +0000 (14:20 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 9 Dec 2004 14:20:13 +0000 (14:20 +0000)
eclass/enlightenment.eclass

index e609f97c348b7218417df032ab9da14d18e05c57..c17bbc2f5d5e41db0c2daf01624bb14dec68b01a 100644 (file)
@@ -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
 }