From 9956d3fb43e6647619868e0ad884247fd4af93cb Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Mon, 17 Jun 2019 18:07:05 +0200 Subject: [PATCH] care for optional brackets around version string (cherry picked from commit b0a73c0dfdbfa0541f04d7ee2578c4cd272ef7b9) --- development/LyX-Mac-binary-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh index 7056868535..282822e7f5 100644 --- a/development/LyX-Mac-binary-release.sh +++ b/development/LyX-Mac-binary-release.sh @@ -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 -- 2.39.2