From 5e8f28da755ad3c308b9e94e3849dcaf34d4b255 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 11 May 2009 21:29:24 +0000 Subject: [PATCH] fetch/wget.py: Fix wget fetching of urls with parameters specified (from Poky) --- ChangeLog | 3 ++- lib/bb/fetch/wget.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 455cfde43ed..53570bacc5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -170,7 +170,8 @@ Changes in Bitbake 1.9.x: - Also allow user and pswd options in SRC_URIs globally (from Poky) - Improve proxy handling when using mirrors (from Poky) - Add bb.utils.prune_suffix function - - Fix hg checkouts of specific revisions + - Fix hg checkouts of specific revisions (from Poky) + - Fix wget fetching of urls with parameters specified (from Poky) Changes in Bitbake 1.8.0: - Release 1.7.x as a stable series diff --git a/lib/bb/fetch/wget.py b/lib/bb/fetch/wget.py index 36617fbba20..2a899c58086 100644 --- a/lib/bb/fetch/wget.py +++ b/lib/bb/fetch/wget.py @@ -66,7 +66,7 @@ class Wget(Fetch): uri_host = uri_decoded[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 = None ftpproxy = None -- 2.47.3