X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Ffixer;h=75c3046a11c0cb11ae7afb07904016f2929999f5;hb=5b563cca093fe09eb397bbbf336412d9fa6fb4bd;hp=b189f6df3a69719c650a11d4e3c852746faa8a3a;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/fixer b/synfig-studio/trunk/fixer index b189f6d..75c3046 100755 --- a/synfig-studio/trunk/fixer +++ b/synfig-studio/trunk/fixer @@ -3,21 +3,31 @@ TEMPFILENAME=~/deleteme.tmp SEDSCRIPT=' -s/sinfg/synfig/g; -s/SINFG/SYNFIG/g; -s/= S I N F G ===/= S Y N F I G =/g; -s/Sinfg/Synfig/g; +s/\*\* Copyright (c) 2002 Robert B\. Quattlebaum Jr\./** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley/; +s/\*\* This software and associated documentation/** This package is free software; you can redistribute it and\/or/; +s/\*\* are CONFIDENTIAL and PROPRIETARY property of/** modify it under the terms of the GNU General Public License as/; +s/\*\* the above-mentioned copyright holder./** published by the Free Software Foundation; either version 2 of\ +** the License, or (at your option) any later version./; + +s/\*\* You may not copy, print, publish, or in any/** This package is distributed in the hope that it will be useful,/; +s/\*\* other way distribute this software without/** but WITHOUT ANY WARRANTY; without even the implied warranty of/; +s/\*\* a prior written agreement with/** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU/; +s/\*\* the copyright holder\./** General Public License for more details./; + +s/n\*\* /\ +** /; + '; -for filename in `find . -name "*sinfg*" -a ! -name '*svn*'` ; do { - newfilename=`echo $filename | sed "$SEDSCRIPT"`; - echo $filename '=>' $newfilename; - svn rename $filename $newfilename || exit 2; -} ; done +#for filename in `find . -name "*sinfg*" -a ! -name '*svn*'` ; do { +# newfilename=`echo $filename | sed "$SEDSCRIPT"`; +# echo $filename '=>' $newfilename; +# svn rename $filename $newfilename || exit 2; +#} ; done #exit 0; for filename in `find . -name '*.[ch]*' -o -name '*.am' -o -name '*.px' -o -name '*.ac' -o -name '*.nsh' -o -name '*.in' | grep -v .svn` ; do { - sed "$SEDSCRIPT" < $filename > $TEMPFILENAME && ( diff -q $TEMPFILENAME $filename || cp $TEMPFILENAME $filename ) + sed "$SEDSCRIPT" < $filename > $TEMPFILENAME && { diff -q $TEMPFILENAME $filename || cp $TEMPFILENAME $filename ; } } ; done