scripts: update check_license_headers.sh to skip zsyscall_windows.go

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
This commit is contained in:
Aaron Klotz 2022-07-27 16:03:44 -06:00
parent 97b8c4fa1b
commit 446d03e108

View File

@ -44,6 +44,9 @@ for file in $(find $1 -name '*.go' -not -path '*/.git/*'); do
$1/control/controlbase/noiseexplorer_test.go)
# Noiseexplorer.com copyright.
;;
*/zsyscall_windows.go)
# Generated syscall wrappers
;;
*)
header="$(head -3 $file)"
if ! check_file "$header"; then