summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index f1ffb4540a..583f9b775f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -422,7 +422,8 @@ python () {
422 422
423 commercial_license = bb.data.getVar('COMMERCIAL_LICENSE', d, 1) 423 commercial_license = bb.data.getVar('COMMERCIAL_LICENSE', d, 1)
424 import re 424 import re
425 if commercial_license and re.search(pn, commercial_license): 425 pnr = pn.replace('+', "\+")
426 if commercial_license and re.search(pnr, commercial_license):
426 bb.debug(1, "Skipping %s because it's commercially licensed" % pn) 427 bb.debug(1, "Skipping %s because it's commercially licensed" % pn)
427 raise bb.parse.SkipPackage("because it requires commercial license to ship product") 428 raise bb.parse.SkipPackage("because it requires commercial license to ship product")
428 429