base.bbclass: fix parse error on recipes with '++' in their name
Fixes "multiple repeat" or "nothing to repeat" errors when parsing recipes with '++' in the file name. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
238c13f106
commit
297f2a7afc
|
@ -422,7 +422,8 @@ python () {
|
|||
|
||||
commercial_license = bb.data.getVar('COMMERCIAL_LICENSE', d, 1)
|
||||
import re
|
||||
if commercial_license and re.search(pn, commercial_license):
|
||||
pnr = pn.replace('+', "\+")
|
||||
if commercial_license and re.search(pnr, commercial_license):
|
||||
bb.debug(1, "Skipping %s because it's commercially licensed" % pn)
|
||||
raise bb.parse.SkipPackage("because it requires commercial license to ship product")
|
||||
|
||||
|
|
Loading…
Reference in New Issue