]> code.ossystems Code Review - openembedded-core.git/commit
bitbake decodeurl: fix the file:// url handling
authorNitin A Kamble <nitin.a.kamble@intel.com>
Fri, 4 Jun 2010 04:50:02 +0000 (21:50 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 7 Jun 2010 15:05:00 +0000 (16:05 +0100)
commitc3682bf89bdf236a4b4d834069d947b6a1456791
treefa8e6715c6176faeb4a0740d29b2c5faabf240d3
parent807e983632088ee8cb8eb51b432aef3cab7dbbd7
bitbake decodeurl: fix the file:// url handling

Without this patch decoding a url of this kind file://dir/filename gives
path=/filename host=dir.
With the patch it decodes as path=/dir/filename host=""

Probably nobody stumbled on this issue yet because nobody used
file:// urls with directory names in the path.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
bitbake/lib/bb/fetch/__init__.py