diff --git a/scripts/copywrite-exceptions.sh b/scripts/copywrite-exceptions.sh index 0ac8043f1040..4399b897422e 100755 --- a/scripts/copywrite-exceptions.sh +++ b/scripts/copywrite-exceptions.sh @@ -4,6 +4,7 @@ # headers in only files intended for public users, and deletes them, # then runs the copywrite bot to utilize local subdir config # to inject correct headers. + find . -type f -name '*.go' -not -name '*_ent.go' -not -name '*_ent_test.go' | while read line; do if grep "SPDX-License-Identifier: BUSL-1.1" $line; then sed -i '/SPDX-License-Identifier: BUSL-1.1/d' $line