diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-11 21:29:24 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-11 21:29:24 +0000 |
commit | 5e8f28da755ad3c308b9e94e3849dcaf34d4b255 (patch) | |
tree | c5240206f064e3176c0a6e7585a90463e6a7b05a | |
parent | 36e892cedf337b771b51852d4875962abaa199d7 (diff) | |
download | bitbake-5e8f28da755ad3c308b9e94e3849dcaf34d4b255.tar.gz |
fetch/wget.py: Fix wget fetching of urls with parameters specified (from Poky)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | lib/bb/fetch/wget.py | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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 36617fbba..2a899c580 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 |