forked from osmocom/wireshark
tools/checklicense: Skip build directories
Skip a source tree root directory starting with 'build' (by convention). Remove previous logic from Chromium that does not apply to us.
This commit is contained in:
parent
bcc77ab189
commit
d86a9910e5
|
@ -207,7 +207,7 @@ def check_licenses(options, args):
|
|||
|
||||
# All files in the build output directory are generated one way or another.
|
||||
# There's no need to check them.
|
||||
if filename.startswith('out/') or filename.startswith('sconsbuild/'):
|
||||
if os.path.dirname(filename).startswith('build'):
|
||||
continue
|
||||
|
||||
# For now we're just interested in the license.
|
||||
|
|
Loading…
Reference in New Issue