From: Richard Purdie Date: Fri, 24 Oct 2008 13:57:02 +0000 (+0100) Subject: bitbake: Fix the wget fetcher so parameter portions of uris are ignored X-Git-Tag: 2011-1~7949 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80;p=openembedded-core.git bitbake: Fix the wget fetcher so parameter portions of uris are ignored --- diff --git a/bitbake-dev/lib/bb/fetch/wget.py b/bitbake-dev/lib/bb/fetch/wget.py index 84ea81d87a..88193755d1 100644 --- a/bitbake-dev/lib/bb/fetch/wget.py +++ b/bitbake-dev/lib/bb/fetch/wget.py @@ -61,7 +61,7 @@ class Wget(Fetch): fetchcmd = data.getVar("FETCHCOMMAND", d, 1) bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri) - fetchcmd = fetchcmd.replace("${URI}", uri) + fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0]) fetchcmd = fetchcmd.replace("${FILE}", ud.basename) httpproxy = data.getVar("http_proxy", d, True) ftpproxy = data.getVar("ftp_proxy", d, True) diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py index 84ea81d87a..88193755d1 100644 --- a/bitbake/lib/bb/fetch/wget.py +++ b/bitbake/lib/bb/fetch/wget.py @@ -61,7 +61,7 @@ class Wget(Fetch): fetchcmd = data.getVar("FETCHCOMMAND", d, 1) bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri) - fetchcmd = fetchcmd.replace("${URI}", uri) + fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0]) fetchcmd = fetchcmd.replace("${FILE}", ud.basename) httpproxy = data.getVar("http_proxy", d, True) ftpproxy = data.getVar("ftp_proxy", d, True)