summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/cpan-base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass
index c90a8fbc2..317524804 100644
--- a/meta/classes/cpan-base.bbclass
+++ b/meta/classes/cpan-base.bbclass
@@ -17,7 +17,7 @@ def get_perl_version(d):
return None
l = f.readlines();
f.close();
- r = re.compile("version='(\d\.\d\.\d)'")
+ r = re.compile("^version='(\d*\.\d*\.\d*)'")
for s in l:
m = r.match(s)
if m: