]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
fetch/wget.py: Fix wget fetching of urls with parameters specified (from Poky)
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 11 May 2009 21:29:24 +0000 (21:29 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 11 May 2009 21:29:24 +0000 (21:29 +0000)
ChangeLog
lib/bb/fetch/wget.py

index 455cfde43edb5a9f90daa8a74ef7bcd0360501e2..53570bacc5c9e21ee9941efce83870343015ce84 100644 (file)
--- 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
index 36617fbba20afa1d6096381e001512855ae368a9..2a899c5808603bf6c1b623c2909ac01fa5f26ac0 100644 (file)
@@ -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