diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-11-11 14:05:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 07:48:12 +0000 |
commit | d3e0a300810251f34932f46daf5263a23846fedd (patch) | |
tree | a1513a2e95209e791948cd2d2f601f9a7a24dd26 /scripts/lib/recipetool | |
parent | d0f3f3a294d509560bd12b93b26eeec65cfee314 (diff) | |
download | openembedded-core-contrib-d3e0a300810251f34932f46daf5263a23846fedd.tar.gz |
recipetool.append: don't choke on a trailing ; in a url
Apparently bb.fetch.URI can't handle this at the moment.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r-- | scripts/lib/recipetool/append.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py index 7fe411520ac..867d55a23b3 100644 --- a/scripts/lib/recipetool/append.py +++ b/scripts/lib/recipetool/append.py @@ -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 |