bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url

This commit is contained in:
Richard Purdie 2009-01-06 19:56:02 +00:00
parent fa89b73e25
commit 3ec9a7de2a
2 changed files with 2 additions and 2 deletions

View 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

View 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