From: Richard Heck Date: Sun, 19 Feb 2012 15:52:40 +0000 (+0000) Subject: Fix version detection in build script. X-Git-Tag: 2.0.3~1 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0ae7c8fff2b65e5073f5ae9b635b0a688ba90b32;p=features.git 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 --- diff --git a/development/tools/lyx-build b/development/tools/lyx-build index a0b6bd098a..f0ea054d1b 100755 --- a/development/tools/lyx-build +++ b/development/tools/lyx-build @@ -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...";