mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
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:
parent
01950e10c5
commit
0ae7c8fff2
@ -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...";
|
||||
|
Loading…
Reference in New Issue
Block a user