summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-10-24 14:57:02 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2008-10-24 14:57:02 +0100
commit0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80 (patch)
tree68c43985fb94218ba351e8d3f3e65069ac46fbf9
parent08197d62efb5e7cbf92d3fbf94a6d192a311214c (diff)
downloadopenembedded-core-0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80.tar.gz
openembedded-core-0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80.tar.bz2
openembedded-core-0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80.zip
bitbake: Fix the wget fetcher so parameter portions of uris are ignored
-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 84ea81d87a..88193755d1 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 84ea81d87a..88193755d1 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)