diff options
-rw-r--r-- | meta/classes/license.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index c8a8c639fa..cfb816d5a4 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -226,10 +226,10 @@ def incompatible_license(d, dont_want_licenses, package=None): | |||
226 | # will exclude a trailing '+' character from LICENSE in | 226 | # will exclude a trailing '+' character from LICENSE in |
227 | # case INCOMPATIBLE_LICENSE is not a 'X+' license. | 227 | # case INCOMPATIBLE_LICENSE is not a 'X+' license. |
228 | lic = license | 228 | lic = license |
229 | if not re.search('\+$', dwl): | 229 | if not re.search('\+$', dwl): |
230 | lic = re.sub('\+', '', license) | 230 | lic = re.sub('\+', '', license) |
231 | if fnmatch(lic, dwl): | 231 | if fnmatch(lic, dwl): |
232 | return False | 232 | return False |
233 | return True | 233 | return True |
234 | 234 | ||
235 | # Handles an "or" or two license sets provided by | 235 | # Handles an "or" or two license sets provided by |