diff options
-rw-r--r-- | meta/lib/oe/recipeutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 1e5b9a49f9..630ae967af 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
@@ -934,7 +934,7 @@ def get_recipe_pv_without_srcpv(pv, uri_type): | |||
934 | sfx = '' | 934 | sfx = '' |
935 | 935 | ||
936 | if uri_type == 'git': | 936 | if uri_type == 'git': |
937 | git_regex = re.compile(r"(?P<pfx>v?)(?P<ver>[^\+]*)((?P<sfx>\+(git)?r?(AUTOINC\+))(?P<rev>.*))?") | 937 | git_regex = re.compile(r"(?P<pfx>v?)(?P<ver>.*?)(?P<sfx>\+[^\+]*(git)?r?(AUTOINC\+))(?P<rev>.*)") |
938 | m = git_regex.match(pv) | 938 | m = git_regex.match(pv) |
939 | 939 | ||
940 | if m: | 940 | if m: |