Rewrite Public Domain as PD, as that's what the place holder in meta/files/common_licenses is called.
Signed-off-by: Anders Darander <and...@chargestorm.se> --- scripts/lib/recipetool/create_npm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index 89973d9..95e9732 100644 --- a/scripts/lib/recipetool/create_npm.py +++ b/scripts/lib/recipetool/create_npm.py @@ -60,6 +60,7 @@ class NpmRecipeHandler(RecipeHandler): if license[-1] == ')': license = license[:-1] license = license.replace('MIT/X11', 'MIT') + license = license.replace('Public Domain', 'PD') license = license.replace('SEE LICENSE IN EULA', 'SEE-LICENSE-IN-EULA') return license -- 2.10.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core