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 d66a212cb3..68ebf8b8d2 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -955,7 +955,7 @@ def try_mirror_url(fetch, origud, ud, ld, check = False): | |||
955 | origud.method.download(origud, ld) | 955 | origud.method.download(origud, ld) |
956 | if hasattr(origud.method,"build_mirror_data"): | 956 | if hasattr(origud.method,"build_mirror_data"): |
957 | origud.method.build_mirror_data(origud, ld) | 957 | origud.method.build_mirror_data(origud, ld) |
958 | return ud.localpath | 958 | return origud.localpath |
959 | # Otherwise the result is a local file:// and we symlink to it | 959 | # Otherwise the result is a local file:// and we symlink to it |
960 | if not os.path.exists(origud.localpath): | 960 | if not os.path.exists(origud.localpath): |
961 | if os.path.islink(origud.localpath): | 961 | if os.path.islink(origud.localpath): |