mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-26 01:49:22 +00:00
care for optional brackets around version string
(cherry picked from commit b0a73c0dfdbfa0541f04d7ee2578c4cd272ef7b9)
This commit is contained in:
parent
e32dfe2751
commit
9956d3fb43
@ -332,7 +332,7 @@ DocumentationDir=$(dirname "${LyxSourceDir}")/Documents
|
||||
DmgBackground="${LyxSourceDir}"/development/MacOSX/dmg-background.png
|
||||
|
||||
if [ -z "${LyXVersion}" ]; then
|
||||
LyXVersion=$(grep AC_INIT "${LyxSourceDir}"/configure.ac | cut -d, -f2 | tr -d " ()")
|
||||
LyXVersion=$(grep AC_INIT "${LyxSourceDir}"/configure.ac | cut -d, -f2 | tr -d " []()")
|
||||
fi
|
||||
LyXVersionSuffix=${LyXVersionSuffix:-$(echo "${LyXVersion}" | cut -d. -f1-2)}
|
||||
case "${LyXVersion}" in
|
||||
|
Loading…
x
Reference in New Issue
Block a user