From d4c130def77112907741f0b8276a3afa2b81b7c3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 21 Aug 2005 19:06:57 +0000 Subject: make sure we only glob numbers, not . #103246 --- eclass/enlightenment.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index 868b74e88179..4ab2bedff9e6 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.52 2005/08/21 06:26:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.53 2005/08/21 19:06:57 vapier Exp $ # # Author: vapier@gentoo.org @@ -23,9 +23,10 @@ if [[ ${PV/9999} != ${PV} ]] ; then inherit cvs elif [[ ${PV/.200?????/} != ${PV} ]] ; then ECVS_STATE="snap" -elif [[ ${PV%%.0??} != ${PV} ]] ; then +elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then ECVS_STATE="snap" fi +einfo $PV == $ECVS_STATE DESCRIPTION="A DR17 production" HOMEPAGE="http://www.enlightenment.org/" -- cgit v1.2.3-65-gdbad