Some of the previous cleanups broke the downloadfilename functionality.
This change fixes the code to ensure the commandline is correctly built.
Thanks Kristof Robot <krirobo@gmail.com> for reporting the issue.
(Bitbake rev:
e008d9bb07e5d1a3584cc04ca2cd3dd906fd5759)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uri = ud.url.split(";")[0]
if os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again..
- fetchcmd = self.basecmd + d.expand(" -c -P ${DL_DIR} '%s'" % uri)
+ fetchcmd += d.expand(" -c -P ${DL_DIR} '%s'" % uri)
else:
- fetchcmd = self.basecmd + d.expand(" -P ${DL_DIR} '%s'" % uri)
+ fetchcmd += d.expand(" -P ${DL_DIR} '%s'" % uri)
self._runwget(ud, d, fetchcmd, False)