From 0ae7c8fff2b65e5073f5ae9b635b0a688ba90b32 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 19 Feb 2012 15:52:40 +0000 Subject: [PATCH] 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 --- development/tools/lyx-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...";