diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 6847873e7b..7524fa95a8 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -192,7 +192,7 @@ def uri_replace(ud, uri_find, uri_replace, d): | |||
192 | if uri_find_decoded.index(i) == 2: | 192 | if uri_find_decoded.index(i) == 2: |
193 | basename = None | 193 | basename = None |
194 | if ud.mirrortarball: | 194 | if ud.mirrortarball: |
195 | basename = os.path.basename(ud.localpath) | 195 | basename = os.path.basename(ud.mirrortarball) |
196 | elif ud.localpath: | 196 | elif ud.localpath: |
197 | basename = os.path.basename(ud.localpath) | 197 | basename = os.path.basename(ud.localpath) |
198 | if basename and result_decoded[loc].endswith("/"): | 198 | if basename and result_decoded[loc].endswith("/"): |