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 | a962a637a33dcafd3b113b13cc19141787479ff6 (patch) | |
tree | 10f264871e50d9f5538b336151821c260a8dc532 | |
parent | f7a4bcbc920cf0563aad5ff182b91aaa0b8998ab (diff) | |
download | bitbake-a962a637a33dcafd3b113b13cc19141787479ff6.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
@@ -76,7 +76,8 @@ Changes in BitBake 1.8.12: proxies to work better. (from Poky) - Also allow user and pswd options in SRC_URIs globally (from Poky) - Improve proxy handling when using mirrors (from Poky) - - 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.10: - Psyco is available only for x86 - do not use it on other architectures. diff --git a/lib/bb/fetch/wget.py b/lib/bb/fetch/wget.py index 0008a2870..442fc3e48 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 |