diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 809e9fc7c6..570bd47ac0 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -143,9 +143,9 @@ class Wget(FetchMethod): | |||
143 | 143 | ||
144 | version = re.sub('\-', '.', version) | 144 | version = re.sub('\-', '.', version) |
145 | version = re.sub('_', '.', version) | 145 | version = re.sub('_', '.', version) |
146 | version = re.sub('(rc)+', '.-1.', version) | 146 | version = re.sub('(rc)+', '.1000.', version) |
147 | version = re.sub('(alpha)+', '.-3.', version) | 147 | version = re.sub('(beta)+', '.100.', version) |
148 | version = re.sub('(beta)+', '.-2.', version) | 148 | version = re.sub('(alpha)+', '.10.', version) |
149 | if version[0] == 'v': | 149 | if version[0] == 'v': |
150 | version = version[1:len(version)] | 150 | version = version[1:len(version)] |
151 | return version | 151 | return version |