diff --git a/scripts/check_copyright.sh b/scripts/check_copyright.sh index aecc286f7a6..3995c449e6f 100755 --- a/scripts/check_copyright.sh +++ b/scripts/check_copyright.sh @@ -24,7 +24,7 @@ options=( list=$(git grep "${options[@]}" -- \ '*.'{c,cc,cmake,h,js,m,mm,py,rb,sh,swift} \ CMakeLists.txt '**/CMakeLists.txt' \ - ':(exclude)**/Sources/ProtoGen' \ + ':(exclude)Sources/ProtoGen' \ ':(exclude)third_party/**' \ ':(exclude)**/third_party/**')