summaryrefslogtreecommitdiffstats
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)
downloadpoky-b6b72006b799107108c9b0a3445e2c2bc9d7abe6.tar.gz
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 @@
1def gnome_verdir(v): 1def gnome_verdir(v):
2 import re 2 import re
3 m = re.match("([0-9]+)\.([0-9]+)\..*", v) 3 m = re.match("^([0-9]+)\.([0-9]+)", v)
4 return "%s.%s" % (m.group(1), m.group(2)) 4 return "%s.%s" % (m.group(1), m.group(2))
5 5
6SECTION ?= "x11/gnome" 6SECTION ?= "x11/gnome"