summaryrefslogtreecommitdiff
path: root/classes/cpan-base.bbclass
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-09 13:46:26 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-24 00:45:26 +0300
commit7f9e2c7d94dccc3082560cd33231d003839a7e50 (patch)
treefadb11997f3b1b4dcde99e5c9ad9181d6553189f /classes/cpan-base.bbclass
parent652b665d0b6a7f7a71405ee4568a487ffc516fa8 (diff)
classes/cpan-base: fix perl version regexp
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'classes/cpan-base.bbclass')
-rw-r--r--classes/cpan-base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass
index 1c77c9b69c..6d3e234be8 100644
--- a/classes/cpan-base.bbclass
+++ b/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: