Restrict to *.[chS]; otherwise it ends up losing permissions on
executable files. Also bump dates to 2006.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5953 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/auxprogs/change-copyright-year b/auxprogs/change-copyright-year
index 9eb6e02..27b3db9 100755
--- a/auxprogs/change-copyright-year
+++ b/auxprogs/change-copyright-year
@@ -17,9 +17,9 @@
# The find command deliberately skips .svn/ subdirs -- we don't want to
# change them.
-for i in `find . -name '*' -type f -not -path '*.svn\/*'` ; do
+for i in `find . -name '*.[chS]' -type f -not -path '*.svn\/*'` ; do
echo $i
- sed "s/Copyright (C) 200\([0-9]\)-2004/Copyright (C) 200\1-2005/" < $i > tmp.$$
+ sed "s/Copyright (C) 200\([0-9]\)-2005/Copyright (C) 200\1-2006/" < $i > tmp.$$
mv tmp.$$ $i
done