From 0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 24 Oct 2008 14:57:02 +0100 Subject: bitbake: Fix the wget fetcher so parameter portions of uris are ignored --- bitbake-dev/lib/bb/fetch/wget.py | 2 +- bitbake/lib/bb/fetch/wget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- cgit v1.2.3