summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
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 /bitbake/lib/bb
parentfa89b73e259104da3c7453ed4d034c51a1e3e158 (diff)
downloadopenembedded-core-3ec9a7de2a4e4c7c2b866f633d368100f4ec4809.tar.gz
openembedded-core-3ec9a7de2a4e4c7c2b866f633d368100f4ec4809.tar.bz2
openembedded-core-3ec9a7de2a4e4c7c2b866f633d368100f4ec4809.tar.xz
openembedded-core-3ec9a7de2a4e4c7c2b866f633d368100f4ec4809.zip
bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch/wget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py
index 0008a2870..442fc3e48 100644
--- a/bitbake/lib/bb/fetch/wget.py
+++ b/bitbake/lib/bb/fetch/wget.py
@@ -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