]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool/create.py: fix LICENSE value ChenQi/recipetool-license
authorChen Qi <Qi.Chen@windriver.com>
Thu, 16 Jun 2016 09:10:04 +0000 (17:10 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 16 Jun 2016 09:26:08 +0000 (17:26 +0800)
commit18032fc6b17d21b4fcb431114a6000042b38e3d9
treee0a26c129f0030dff97f9d5ffb99e47e59732346
parent7b4b67da33beff736dc0286ea24e3860480f9650
recipetool/create.py: fix LICENSE value

When there multiple license in a repo, the LICENSE value be created as
something like "LGPLv2.1 GPLv2", which causes the following warning.

LICENSE value "LGPLv2.1 GPLv2" has an invalid format - license names must
be separated by the following characters to indicate the license selection: &|()

Fix it by using '&' to join multiple licenses.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
scripts/lib/recipetool/create.py