Applied to master. Sorry for the delay. Thanks.
On Mon, Aug 2, 2010 at 2:56 PM, C Michael Sundius <[email protected]>wrote:
> ah, cool. this should take care of it then:
>
> the only question that I have is what is the difference between
>
> os.path.basename(url)
> and
> os.path.basename(ud.path)
>
> shouldn't they be the same.. is what I have here fine?
>
> mike
> ------------------------------------
> diff --git a/lib/bb/fetch/wget.py b/lib/bb/fetch/wget.py
> index dcc58c7..18503a0 100644
> --- a/lib/bb/fetch/wget.py
> +++ b/lib/bb/fetch/wget.py
> @@ -27,6 +27,7 @@ BitBake build tools.
>
> import os
> import bb
> +import urllib
> from bb import data
> from bb.fetch import Fetch
> from bb.fetch import FetchError
> @@ -45,7 +46,7 @@ class Wget(Fetch):
>
> url = encodeurl([ud.type, ud.host, ud.path, ud.user, ud.pswd, {}])
> ud.basename = os.path.basename(ud.path)
> - ud.localfile = data.expand(os.path.basename(url), d)
> + ud.localfile = data.expand(urllib.unquote(ud.basename), d)
>
> return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)
>
>
> _______________________________________________
> Bitbake-dev mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/bitbake-dev
>
>
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev