diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 21f576eebc..3f5de990de 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -214,6 +214,8 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d): | |||
214 | return None | 214 | return None |
215 | # Overwrite any specified replacement parameters | 215 | # Overwrite any specified replacement parameters |
216 | for k in uri_replace_decoded[loc]: | 216 | for k in uri_replace_decoded[loc]: |
217 | for l in replacements: | ||
218 | uri_replace_decoded[loc][k] = uri_replace_decoded[loc][k].replace(l, replacements[l]) | ||
217 | result_decoded[loc][k] = uri_replace_decoded[loc][k] | 219 | result_decoded[loc][k] = uri_replace_decoded[loc][k] |
218 | elif (re.match(regexp, uri_decoded[loc])): | 220 | elif (re.match(regexp, uri_decoded[loc])): |
219 | if not uri_replace_decoded[loc]: | 221 | if not uri_replace_decoded[loc]: |