bitbake: wget: Only use -O option when not spidering
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Feb 2013 21:33:04 +0000 (21:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2013 12:12:35 +0000 (12:12 +0000)
commit07df644f96842659b5a0393d164eb90883d0d68a
treef7774504c6034ec96495c98041aa64bfbfefdf91
parente5787e0a226fa03a027c79f7fd69f42f3c21ab41
bitbake: wget: Only use -O option when not spidering

If we pass the -O option whilst spidering, empty files are created which is not
desired. We also need to ensure any subdirectories are created when using the
downloadfilename parameter.

(Bitbake rev: d5f78e98d5aba36c95288fbaac267c2d54537b02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/wget.py