diff options
-rw-r--r-- | bitbake/lib/bb/providers.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py index 0ad5876ef0..3504efc86e 100644 --- a/bitbake/lib/bb/providers.py +++ b/bitbake/lib/bb/providers.py | |||
@@ -296,7 +296,12 @@ def getRuntimeProviders(dataCache, rdepend): | |||
296 | 296 | ||
297 | # Only search dynamic packages if we can't find anything in other variables | 297 | # Only search dynamic packages if we can't find anything in other variables |
298 | for pattern in dataCache.packages_dynamic: | 298 | for pattern in dataCache.packages_dynamic: |
299 | regexp = re.compile(pattern) | 299 | pattern = pattern.replace('+', "\+") |
300 | try: | ||
301 | regexp = re.compile(pattern) | ||
302 | except: | ||
303 | bb.msg.error(bb.msg.domain.Provider, "Error parsing re expression: %s" % pattern) | ||
304 | raise | ||
300 | if regexp.match(rdepend): | 305 | if regexp.match(rdepend): |
301 | rproviders += dataCache.packages_dynamic[pattern] | 306 | rproviders += dataCache.packages_dynamic[pattern] |
302 | 307 | ||