Message ID | 20250613131620.221912-4-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [01/10] default-distrovars: set an empty default for LICENSE_PATH | expand |
diff --git a/meta/lib/oe/license_finder.py b/meta/lib/oe/license_finder.py index 5b09059576e..d5030c033e7 100644 --- a/meta/lib/oe/license_finder.py +++ b/meta/lib/oe/license_finder.py @@ -193,7 +193,7 @@ def crunch_license(licfile): def find_license_files(srctree): licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*', '[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*', 'e[dp]l-v10'] - skip_extensions = (".html", ".js", ".json", ".svg", ".ts", ".go") + skip_extensions = (".html", ".js", ".json", ".svg", ".ts", ".go", ".sh") licfiles = [] for root, dirs, files in os.walk(srctree): for fn in files:
Shell scripts are not licenses, so skip them. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/lib/oe/license_finder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)