summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-06 19:56:02 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-06 19:56:02 +0000
commit3ec9a7de2a4e4c7c2b866f633d368100f4ec4809 (patch)
treec683afe0821232ba45ad2792cdbe471aa9181bd5
parentfa89b73e259104da3c7453ed4d034c51a1e3e158 (diff)
downloadpoky-3ec9a7de2a4e4c7c2b866f633d368100f4ec4809.tar.gz
bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url
-rw-r--r--bitbake-dev/lib/bb/fetch/wget.py2
-rw-r--r--bitbake/lib/bb/fetch/wget.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/fetch/wget.py b/bitbake-dev/lib/bb/fetch/wget.py
index 0008a28700..442fc3e489 100644
--- a/bitbake-dev/lib/bb/fetch/wget.py
+++ b/bitbake-dev/lib/bb/fetch/wget.py
@@ -66,7 +66,7 @@ class Wget(Fetch):
66 uri_host = uri_decoded[1] 66 uri_host = uri_decoded[1]
67 67
68 bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri) 68 bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
69 fetchcmd = fetchcmd.replace("${URI}", uri) 69 fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
70 fetchcmd = fetchcmd.replace("${FILE}", ud.basename) 70 fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
71 httpproxy = None 71 httpproxy = None
72 ftpproxy = None 72 ftpproxy = None
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py
index 0008a28700..442fc3e489 100644
--- a/bitbake/lib/bb/fetch/wget.py
+++ b/bitbake/lib/bb/fetch/wget.py
@@ -66,7 +66,7 @@ class Wget(Fetch):
66 uri_host = uri_decoded[1] 66 uri_host = uri_decoded[1]
67 67
68 bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri) 68 bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
69 fetchcmd = fetchcmd.replace("${URI}", uri) 69 fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
70 fetchcmd = fetchcmd.replace("${FILE}", ud.basename) 70 fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
71 httpproxy = None 71 httpproxy = None
72 ftpproxy = None 72 ftpproxy = None