diff options
Diffstat (limited to 'meta/classes/cpan-base.bbclass')
-rw-r--r-- | meta/classes/cpan-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index c90a8fbc27..3175248048 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass | |||
@@ -17,7 +17,7 @@ def get_perl_version(d): | |||
17 | return None | 17 | return None |
18 | l = f.readlines(); | 18 | l = f.readlines(); |
19 | f.close(); | 19 | f.close(); |
20 | r = re.compile("version='(\d\.\d\.\d)'") | 20 | r = re.compile("^version='(\d*\.\d*\.\d*)'") |
21 | for s in l: | 21 | for s in l: |
22 | m = r.match(s) | 22 | m = r.match(s) |
23 | if m: | 23 | if m: |