summaryrefslogtreecommitdiffstats
path: root/meta/classes/license.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r--meta/classes/license.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 0335f4195c..021ab2ee17 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -93,7 +93,7 @@ license_create_manifest() {
93 pkged_lic="$(sed -n '/^LICENSE: /{ s/^LICENSE: //; s/[+|&()*]/ /g; s/ */ /g; p }' ${filename})" 93 pkged_lic="$(sed -n '/^LICENSE: /{ s/^LICENSE: //; s/[+|&()*]/ /g; s/ */ /g; p }' ${filename})"
94 pkged_pv="$(sed -n 's/^PV: //p' ${filename})" 94 pkged_pv="$(sed -n 's/^PV: //p' ${filename})"
95 # check to see if the package name exists in the manifest. if so, bail. 95 # check to see if the package name exists in the manifest. if so, bail.
96 if ! grep -q "PACKAGE NAME: ${pkg}" ${filename}; then 96 if ! grep -q "^PACKAGE NAME: ${pkg}" ${LICENSE_MANIFEST}; then
97 # exclude local recipes 97 # exclude local recipes
98 if [ ! "${pkged_pn}" = "*locale*" ]; then 98 if [ ! "${pkged_pn}" = "*locale*" ]; then
99 echo "PACKAGE NAME:" ${pkg} >> ${LICENSE_MANIFEST} 99 echo "PACKAGE NAME:" ${pkg} >> ${LICENSE_MANIFEST}