9
0
Fork 0

Updated version script to use configure.in

This commit is contained in:
jjako 2003-01-28 22:39:30 +00:00
parent 3c13e30b57
commit 4c88d46cc3
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@
#
# Little shell script to grab current version number from configure.in
#
# $Id: version,v 1.2 2003/01/28 21:58:07 jjako Exp $
# $Id: version,v 1.3 2003/01/28 22:39:30 jjako Exp $
VER=`grep AC_INIT configure.ac | awk -F'[(),]' '{print $3}'`
VER=`grep AC_INIT configure.in | awk -F'[(),]' '{print $3}'`
if [ "$1" == "-VERSION" ]
then
echo $VER | awk -F'.' '{print $1}'