From 26a46938d3ea1821e7bec4fa6cc8379babad238b Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Fri, 16 Mar 2012 13:30:34 -0600 Subject: [PATCH] bitbake/fetch2: Fix typo which broke use of tarballs (Bitbake rev: 5a1e62a8cdd4f0253b0dc59046b3b4c3186af461) Signed-off-by: Gary Thomas Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): if uri_find_decoded.index(i) == 2: basename = None if ud.mirrortarball: - basename = os.path.basename(ud.localpath) + basename = os.path.basename(ud.mirrortarball) elif ud.localpath: basename = os.path.basename(ud.localpath) if basename and result_decoded[loc].endswith("/"):