]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Restrict to *.[chS]; otherwise it ends up losing permissions on
authorJulian Seward <jseward@acm.org>
Mon, 5 Jun 2006 23:20:25 +0000 (23:20 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 5 Jun 2006 23:20:25 +0000 (23:20 +0000)
executable files.  Also bump dates to 2006.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5953

auxprogs/change-copyright-year

index 9eb6e023f3d93922916ee3f6df89cffd6a59166b..27b3db937ea0e2ca68b3a644d3f39475994b9399 100755 (executable)
@@ -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