|
From: <sv...@va...> - 2006-06-05 23:20:28
|
Author: sewardj
Date: 2006-06-06 00:20:25 +0100 (Tue, 06 Jun 2006)
New Revision: 5953
Log:
Restrict to *.[chS]; otherwise it ends up losing permissions on=20
executable files. Also bump dates to 2006.
Modified:
trunk/auxprogs/change-copyright-year
Modified: trunk/auxprogs/change-copyright-year
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/auxprogs/change-copyright-year 2006-06-02 23:59:40 UTC (rev 595=
2)
+++ trunk/auxprogs/change-copyright-year 2006-06-05 23:20:25 UTC (rev 595=
3)
@@ -17,9 +17,9 @@
=20
# 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
=20
|