recipetool.append: don't choke on a trailing ; in a url
Apparently bb.fetch.URI can't handle this at the moment. (From OE-Core rev: d3e0a300810251f34932f46daf5263a23846fedd) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a35f79ddd8
commit
4e2c5e171c
|
@ -343,6 +343,8 @@ def appendsrc(args, files, rd, extralines=None):
|
|||
simplified = {}
|
||||
src_uri = rd.getVar('SRC_URI', True).split()
|
||||
for uri in src_uri:
|
||||
if uri.endswith(';'):
|
||||
uri = uri[:-1]
|
||||
simple_uri = bb.fetch.URI(uri)
|
||||
simple_uri.params = {}
|
||||
simplified[str(simple_uri)] = uri
|
||||
|
|
Loading…
Reference in New Issue