]> git.lyx.org Git - features.git/commitdiff
Fix version detection in build script.
authorRichard Heck <rgheck@comcast.net>
Sun, 19 Feb 2012 15:52:40 +0000 (15:52 +0000)
committerRichard Heck <rgheck@comcast.net>
Sun, 19 Feb 2012 15:52:40 +0000 (15:52 +0000)
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

index a0b6bd098a9767d97e5adffa7735747ec4223d26..f0ea054d1b123c2618f9fb8b3a5e36074e51d548 100755 (executable)
@@ -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...";