From: Julian Seward Date: Mon, 5 Jun 2006 23:20:25 +0000 (+0000) Subject: Restrict to *.[chS]; otherwise it ends up losing permissions on X-Git-Tag: svn/VALGRIND_3_2_0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447e53e3190233a82a309c9b4060b69feb2e2a8b;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/auxprogs/change-copyright-year b/auxprogs/change-copyright-year index 9eb6e023f3..27b3db937e 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