From 0ab39dda83e18aeed8491008e868a3e4256aa685 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 --- 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 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 -- 2.39.5