summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-21 19:06:57 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-21 19:06:57 +0000
commitd4c130def77112907741f0b8276a3afa2b81b7c3 (patch)
tree2854f7443aad9f8266ffa332c46c3c8f423ddd4d /eclass/enlightenment.eclass
parentFixed broken patches (diff)
downloadhistorical-d4c130def77112907741f0b8276a3afa2b81b7c3.tar.gz
historical-d4c130def77112907741f0b8276a3afa2b81b7c3.tar.bz2
historical-d4c130def77112907741f0b8276a3afa2b81b7c3.zip
make sure we only glob numbers, not . #103246
Diffstat (limited to 'eclass/enlightenment.eclass')
-rw-r--r--eclass/enlightenment.eclass5
1 files 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/"