tag substitution with .1 also
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 14 Aug 2010 12:46:30 +0000 (14:46 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 14 Aug 2010 12:46:30 +0000 (14:46 +0200)
makerel

diff --git a/makerel b/makerel
index 821019f..d952060 100755 (executable)
--- a/makerel
+++ b/makerel
@@ -20,7 +20,7 @@ else
    cp -ar ${nome} $newdir
 fi
 cd $newdir
-for i in `find . -print | grep '\.[ch]$' ; find . -print | grep '\.sh$'`; do
+for i in `find . -name '*.h' -o -name '*.c' -o -name '*.sh' -o -name '*.1'`; do
    cp $i file.tmp
    cat file.tmp | sed "s/vERSIOn/$1/g;
 s/cOPYRIGHt/$coprig/g;