mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
care for optional brackets around version string
(cherry picked from commit b0a73c0dfd
)
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…
Reference in New Issue
Block a user