diff options
| author | Mark Johnston <markjdb@gmail.com> | 2020-02-23 19:00:47 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-02-24 10:18:37 +0100 |
| commit | 1253d6f07f7f40d2835e0d1e061dcbad49ae28ee (patch) | |
| tree | 2cf9a00b61c9b1e15381b59925d1705db7d27fe0 /tools | |
| parent | 502ca6cde7a3897b576b65117bf798f53e63b8d7 (diff) | |
tools: specify the search path for find(1)
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/check-copyright.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-copyright.sh b/tools/check-copyright.sh index 7972d2a8f..c90105a30 100755 --- a/tools/check-copyright.sh +++ b/tools/check-copyright.sh @@ -4,7 +4,7 @@ FILES=0 FAILED="" -for F in $(find -name "*.go" -o -name "*.sh" -o -name "*.cc" -o -name "*.h" \ +for F in $(find . -name "*.go" -o -name "*.sh" -o -name "*.cc" -o -name "*.h" \ -o -name "*.S" -o \( -path "./sys/*/*.txt" \) | egrep -v "/vendor/|/gen/"); 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 |
