From: Adam Dickmeiss Date: Wed, 25 May 2011 13:11:05 +0000 (+0200) Subject: fixup headers deals with more files X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=73e6cb28ca16140c4bd1b2cf2f49107c72a307c4;p=git-tools-moved-to-github.git fixup headers deals with more files --- diff --git a/fixup-headers/fixup.sh b/fixup-headers/fixup.sh index 3d9b92e..dc42a8f 100755 --- a/fixup-headers/fixup.sh +++ b/fixup-headers/fixup.sh @@ -4,7 +4,7 @@ if test -z "$R"; then echo "Supply range. Eg 2006-2009" exit 1 fi -for f in `find . \( -name '*.[ch]' -or -name Makefile.am -or -name '*.cpp' -or -name '*.hpp' \) -print`; do +for f in `find . \( -name '*.[ch]' -or -name Makefile.am -or -name makefile -or -name '*.cpp' -or -name '*.hpp' -or -name license.txt -or -name README -or -name configure.ac -or -name '*.nsi' \) -print`; do echo $f sed "s/Copyri.*20.*Data/Copyright (C) $R Index Data/g" < $f >${f}_new if diff $f ${f}_new >/dev/null; then