aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check-copyright.sh
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-01-23 14:12:18 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-01-23 16:34:44 +0000
commit521b0ce3f194b9c4c768d8f8ae680a69dc1479f2 (patch)
tree0bacf2019c1d8ef0f0994488d06cad3c711c2d4d /tools/check-copyright.sh
parentf6a35ef3a59d5a0ad14de993e51c186016ea91de (diff)
all: remove more mentions of the vendor folder
Diffstat (limited to 'tools/check-copyright.sh')
-rwxr-xr-xtools/check-copyright.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-copyright.sh b/tools/check-copyright.sh
index 5d93b0151..fe88c5eaf 100755
--- a/tools/check-copyright.sh
+++ b/tools/check-copyright.sh
@@ -6,7 +6,7 @@ FILES=0
FAILED=""
for F in $(find . -name "*.go" -o -name "*.sh" -o -name "*.cpp" -o -name "*.cc" -o -name "*.h" \
-o -name "*.S" -o -name "*.py" -o -name "*.yml" -o -name "*.yaml" -o -name "*.fbs" \
- -o \( -path "./sys/*/*.txt" \) | egrep -v "/_include/|/vendor/|/gen/|/testdata/"); do
+ -o \( -path "./sys/*/*.txt" \) | egrep -v "/_include/|/gen/|/testdata/"); do
((FILES+=1))
cat $F | tr '\n' '_' | egrep "(//|#) Copyright 20[0-9]{2}(/20[0-9]{2})? syzkaller project authors\. All rights reserved\._(//|#) Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file\." >/dev/null
if [ $? -eq 0 ]; then continue; fi