diff options
author | Ross Burton <ross@openedhand.com> | 2007-09-17 18:52:01 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-09-17 18:52:01 +0000 |
commit | b6b72006b799107108c9b0a3445e2c2bc9d7abe6 (patch) | |
tree | 8a82a43dc2bd82cd0b81300bdb7474c39d6a195f /meta | |
parent | 80924d4686ad18f5e7318c7ad44ec37213dd67ec (diff) | |
download | poky-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.bbclass | 2 |
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 @@ | |||
1 | def gnome_verdir(v): | 1 | def 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 | ||
6 | SECTION ?= "x11/gnome" | 6 | SECTION ?= "x11/gnome" |