Change the pattern matching for our copyright header so that it doesn't croak
[arvados-dev.git] / git / hooks / check-copyright-headers.sh
index 1eccfe43495f1c5faef39ac10ac07dddf98181ae..18796f24a7ad20e35576fa7c9b5ce97255433a37 100755 (executable)
@@ -45,7 +45,7 @@ for rev in $(git rev-list --objects $2..$3 | git cat-file --batch-check='%(objec
   done
   if [[ ${ignore} = 1 ]]; then continue; fi
 
-  HEADER=`git show ${sha} | head -n20 | egrep -A3 -B1 'Copyright.*Arvados'`
+  HEADER=`git show ${sha} | head -n20 | egrep -A3 -B1 'Copyright.*All rights reserved.'`
 
   if [[ ! "$HEADER" =~ "SPDX-License-Identifier:" ]]; then
     if [[ "$EXITCODE" == "0" ]]; then