]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in...
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 6 Jan 2009 19:56:02 +0000 (19:56 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 6 Jan 2009 19:56:02 +0000 (19:56 +0000)
bitbake-dev/lib/bb/fetch/wget.py
bitbake/lib/bb/fetch/wget.py

index 0008a28700ea7d8713d481b87f05f778d97e3105..442fc3e489f795fd335063316f038fedc1272db9 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
index 0008a28700ea7d8713d481b87f05f778d97e3105..442fc3e489f795fd335063316f038fedc1272db9 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