diff options
Diffstat (limited to 'admin/mkcvstag.sh')
-rwxr-xr-x | admin/mkcvstag.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/admin/mkcvstag.sh b/admin/mkcvstag.sh new file mode 100755 index 00000000..3fcb8786 --- /dev/null +++ b/admin/mkcvstag.sh @@ -0,0 +1,19 @@ +OLDTAG=`cat admin/src_cvstag` + +echo "Old CVSTAG is $OLDTAG" + +if test -f configure.in; then + echo "Requesting cvs log in the current directory" +else + echo "This script must be called from the top source directory" + exit -1 +fi + +cvs log > cvs.log + +CVSTAG=`cat cvs.log | grep revision | grep -v total | wc -l` + +echo $CVSTAG > admin/src_cvstag + + +echo "CVSTAG is $CVSTAG"
\ No newline at end of file |