Fix version detection in build script.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40781 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2012-02-19 15:52:40 +00:00
parent 01950e10c5
commit 0ae7c8fff2

View File

@ -18,7 +18,7 @@ MAKEOPTS="-j4";
cd $SRCDIR/
VERSION=$(head configure.ac | grep AC_INIT | perl -e 'while (<>) {m/(\d\.\d+\.\d+)/; print $1;}');
VERSION=$(head configure.ac | grep AC_INIT | perl -e 'while (<>) {m/AC_INIT\(LyX,([^,]+)/; print $1;}');
echo "This is version $VERSION.";
echo -n "Ready to build source packages...";