summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-09-17 18:52:01 +0000
committerRoss Burton <ross@openedhand.com>2007-09-17 18:52:01 +0000
commitb6b72006b799107108c9b0a3445e2c2bc9d7abe6 (patch)
tree8a82a43dc2bd82cd0b81300bdb7474c39d6a195f /meta
parent80924d4686ad18f5e7318c7ad44ec37213dd67ec (diff)
downloadopenembedded-core-b6b72006b799107108c9b0a3445e2c2bc9d7abe6.tar.gz
openembedded-core-b6b72006b799107108c9b0a3445e2c2bc9d7abe6.tar.bz2
openembedded-core-b6b72006b799107108c9b0a3445e2c2bc9d7abe6.zip
gnome.bbclass: change version regexp to handle x.y versions, not just x.y.z
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2752 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/gnome.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gnome.bbclass b/meta/classes/gnome.bbclass
index 56233578aa..b29d86cefd 100644
--- a/meta/classes/gnome.bbclass
+++ b/meta/classes/gnome.bbclass
@@ -1,6 +1,6 @@
def gnome_verdir(v):
import re
- m = re.match("([0-9]+)\.([0-9]+)\..*", v)
+ m = re.match("^([0-9]+)\.([0-9]+)", v)
return "%s.%s" % (m.group(1), m.group(2))
SECTION ?= "x11/gnome"