8
0
Fork 0

Updated version script to use configure.in

origin
jjako 20 years ago
parent 3c13e30b57
commit 4c88d46cc3
  1. 4
      version

@ -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}'