diff options
-rw-r--r-- | meta/classes/license.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 6651d55c01..8a42874600 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -70,7 +70,7 @@ def write_license_files(d, license_manifest, pkg_dic): | |||
70 | except oe.license.LicenseError as exc: | 70 | except oe.license.LicenseError as exc: |
71 | bb.fatal('%s: %s' % (d.getVar('P', True), exc)) | 71 | bb.fatal('%s: %s' % (d.getVar('P', True), exc)) |
72 | else: | 72 | else: |
73 | pkg_dic[pkg]["LICENSES"] = re.sub('[|&()*]', '', pkg_dic[pkg]["LICENSE"]) | 73 | pkg_dic[pkg]["LICENSES"] = re.sub('[|&()*]', ' ', pkg_dic[pkg]["LICENSE"]) |
74 | pkg_dic[pkg]["LICENSES"] = re.sub(' *', ' ', pkg_dic[pkg]["LICENSES"]) | 74 | pkg_dic[pkg]["LICENSES"] = re.sub(' *', ' ', pkg_dic[pkg]["LICENSES"]) |
75 | pkg_dic[pkg]["LICENSES"] = pkg_dic[pkg]["LICENSES"].split() | 75 | pkg_dic[pkg]["LICENSES"] = pkg_dic[pkg]["LICENSES"].split() |
76 | 76 | ||