This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 bitbake-dev/lib/bb/fetch/wget.py |    2 +-
 bitbake/lib/bb/fetch/wget.py     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80
Author: Richard Purdie <[EMAIL PROTECTED]>
Date:   Fri Oct 24 14:57:02 2008 +0100

    bitbake: Fix the wget fetcher so parameter portions of uris are ignored


Diff in this email is a maximum of 400 lines.
diff --git a/bitbake-dev/lib/bb/fetch/wget.py b/bitbake-dev/lib/bb/fetch/wget.py
index 84ea81d..8819375 100644
--- a/bitbake-dev/lib/bb/fetch/wget.py
+++ b/bitbake-dev/lib/bb/fetch/wget.py
@@ -61,7 +61,7 @@ class Wget(Fetch):
                 fetchcmd = data.getVar("FETCHCOMMAND", d, 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 = data.getVar("http_proxy", d, True)
             ftpproxy = data.getVar("ftp_proxy", d, True)
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py
index 84ea81d..8819375 100644
--- a/bitbake/lib/bb/fetch/wget.py
+++ b/bitbake/lib/bb/fetch/wget.py
@@ -61,7 +61,7 @@ class Wget(Fetch):
                 fetchcmd = data.getVar("FETCHCOMMAND", d, 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 = data.getVar("http_proxy", d, True)
             ftpproxy = data.getVar("ftp_proxy", d, True)
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to