diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index b081b7621b..9e4b443421 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -328,7 +328,7 @@ class Wget(FetchMethod): | |||
328 | if version: | 328 | if version: |
329 | package_custom_regex_comp = re.compile( | 329 | package_custom_regex_comp = re.compile( |
330 | "(?P<name>%s)(?P<ver>%s)(?P<arch>%s)?[\.\-](?P<type>%s)$" % | 330 | "(?P<name>%s)(?P<ver>%s)(?P<arch>%s)?[\.\-](?P<type>%s)$" % |
331 | (version[0], pver_regex, parch_regex, psuffix_regex)) | 331 | (re.escape(version[0]), pver_regex, parch_regex, psuffix_regex)) |
332 | 332 | ||
333 | return package_custom_regex_comp | 333 | return package_custom_regex_comp |
334 | 334 | ||