]> git.lyx.org Git - features.git/commitdiff
Enhanced version string extraction for 3rd party libraries.
authorStephan Witt <switt@lyx.org>
Thu, 6 Feb 2020 21:15:08 +0000 (22:15 +0100)
committerStephan Witt <switt@lyx.org>
Sun, 7 Jun 2020 18:33:02 +0000 (20:33 +0200)
(cherry picked from commit 6b48c45c5447f4851311e6012ba60effc5edb43a)

development/LyX-Mac-binary-release.sh

index 023b272cc01f3a06f79f3cd05f9a8a167632fbb8..e29a5754e88bd2d0031ceff33af86a2ff1cdf643 100644 (file)
@@ -442,7 +442,7 @@ if [ -d "${LibMagicSourceDir}" -a ! -f "${LibMagicInstallHdr}" ]; then
        # we have a private libmagic (file(1)) source tree at hand...
        # so let's build and install it
        if [ -z "${LibMagicVersion}" ]; then
-               LibMagicVersion=$(grep AC_INIT "${LibMagicSourceDir}"/configure.ac | cut -d, -f2|tr -d " ()")
+               LibMagicVersion=$(grep AC_INIT "${LibMagicSourceDir}"/configure.ac | cut -d, -f2|tr -d " []()")
        fi
 
        LibMagicName="LibMagic"
@@ -503,7 +503,7 @@ if [ -d "${HunSpellSourceDir}" -a ! -f "${HunSpellInstallHdr}" ]; then
        # we have a private HunSpell source tree at hand...
        # so let's build and install it
        if [ -z "${HunSpellVersion}" ]; then
-               HunSpellVersion=$(grep AC_INIT "${HunSpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " ()")
+               HunSpellVersion=$(grep AC_INIT "${HunSpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " []()")
        fi
 
        HunSpellName="Hunspell"
@@ -565,7 +565,7 @@ if [ -d "${ASpellSourceDir}" -a ! -f "${ASpellInstallHdr}" -a "yes" = "${aspell_
        # we have a private ASpell source tree at hand...
        # so let's build and install it
        if [ -z "${ASpellVersion}" ]; then
-               ASpellVersion=$(grep AC_INIT "${ASpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " ()")
+               ASpellVersion=$(grep AC_INIT "${ASpellSourceDir}"/configure.ac | cut -d, -f2|tr -d " []()")
        fi
 
        ASpellName="Aspell"