]> mop.ddnsfree.com - git repositories - metatemplate.git/commitdiff
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 821019faef215dab9d845c52164f1abea2b070f7..d952060cf9a9c65dd39f289305193e5089bbeb2f 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;