mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-28 12:02:23 +00:00
scripts: don't descend into .git for license header check
This commit is contained in:
parent
a877dd575c
commit
edb47b98a8
@ -30,7 +30,7 @@ if [ $# != 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
fail=0
|
fail=0
|
||||||
for file in $(find $1 -name '*.go'); do
|
for file in $(find $1 -name '*.go' -not -path '*/.git/*'); do
|
||||||
case $file in
|
case $file in
|
||||||
$1/tempfork/*)
|
$1/tempfork/*)
|
||||||
# Skip, tempfork of third-party code
|
# Skip, tempfork of third-party code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user