From 447e53e3190233a82a309c9b4060b69feb2e2a8b Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 5 Jun 2006 23:20:25 +0000 Subject: [PATCH] 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 --- auxprogs/change-copyright-year | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auxprogs/change-copyright-year b/auxprogs/change-copyright-year index 9eb6e023f..27b3db937 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