summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-09 11:11:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-09 12:07:01 -0700
commit4ae598195b60ea5a4c0a3efaded679208e1cc07e (patch)
tree85ba2943fe87d656df21edbc6295f66f5640a93c /bitbake/lib
parentaacc3814c2c44df42c00fe78f62e52be3744deeb (diff)
downloadpoky-4ae598195b60ea5a4c0a3efaded679208e1cc07e.tar.gz
bitbake: fetch2/wget: Fix downloadfilename functionality
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/wget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index ffd608f213..0456490368 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -79,9 +79,9 @@ class Wget(FetchMethod):
79 uri = ud.url.split(";")[0] 79 uri = ud.url.split(";")[0]
80 if os.path.exists(ud.localpath): 80 if os.path.exists(ud.localpath):
81 # file exists, but we didnt complete it.. trying again.. 81 # file exists, but we didnt complete it.. trying again..
82 fetchcmd = self.basecmd + d.expand(" -c -P ${DL_DIR} '%s'" % uri) 82 fetchcmd += d.expand(" -c -P ${DL_DIR} '%s'" % uri)
83 else: 83 else:
84 fetchcmd = self.basecmd + d.expand(" -P ${DL_DIR} '%s'" % uri) 84 fetchcmd += d.expand(" -P ${DL_DIR} '%s'" % uri)
85 85
86 self._runwget(ud, d, fetchcmd, False) 86 self._runwget(ud, d, fetchcmd, False)
87 87