diff options
| author | Gary Thomas <gary@mlbassoc.com> | 2012-03-16 13:30:34 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-16 23:44:23 +0000 |
| commit | 26a46938d3ea1821e7bec4fa6cc8379babad238b (patch) | |
| tree | 7db5c62c29669a4d841e3c0078e43757bbe2dcbc /bitbake | |
| parent | 0676db79755b49b660f34e1c00769327fc299c58 (diff) | |
| download | poky-26a46938d3ea1821e7bec4fa6cc8379babad238b.tar.gz | |
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>
Diffstat (limited to 'bitbake')
| -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("/"): |
