gencopyright: ignore generated files

This commit is contained in:
Zexi Li
2019-11-29 17:16:38 +08:00
parent 7be492a8fd
commit fdcf4efeab

View File

@@ -32,7 +32,7 @@ function patch() {
for top in $@
do
for f in $(find $top -iname "*.go")
for f in $(find $top ! -name "*zz_generated*.go" -iname "*.go")
do
patch $f
done