From: Stephan Witt Date: Mon, 17 Jun 2019 16:07:05 +0000 (+0200) Subject: care for optional brackets around version string X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1870 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b0a73c0dfdbfa0541f04d7ee2578c4cd272ef7b9;p=features.git care for optional brackets around version string --- diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh index 80c1d7e786..92fbb197ae 100644 --- a/development/LyX-Mac-binary-release.sh +++ b/development/LyX-Mac-binary-release.sh @@ -327,7 +327,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