Skip to content

Commit

Permalink
Updated version script to use configure.in
Browse files Browse the repository at this point in the history
  • Loading branch information
jjako committed Jan 28, 2003
1 parent 3c13e30 commit 4c88d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down

0 comments on commit 4c88d46

Please sign in to comment.