summaryrefslogtreecommitdiffstats
path: root/admin/mkcvstag.sh
blob: 3fcb87864bee2f4bed3490199ac58abaf417822e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"