bitbake/fetch2: Fix typo which broke use of tarballs

(Bitbake rev: 5a1e62a8cdd4f0253b0dc59046b3b4c3186af461)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Gary Thomas 2012-03-16 13:30:34 -06:00 committed by Richard Purdie
parent 0676db7975
commit 26a46938d3
1 changed files with 1 additions and 1 deletions

View File

@ -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("/"):