]> git.lyx.org Git - lyx.git/blobdiff - development/LyX-Mac-binary-release.sh
Safe line break to increase precision of error reporting in Listings caption
[lyx.git] / development / LyX-Mac-binary-release.sh
index b59cc8f82382334c1fb8e43aff450df1c1d4a124..d97bc19c29b85a758208326a244c5803b63590b6 100644 (file)
@@ -23,7 +23,7 @@ ASpellLibrary="libaspell.15.dylib"
 
 HunSpellVersion=${HunSpellVersion:-"1.3.3"}
 HunSpellSource="hunspell-${HunSpellVersion}"
-HunSpellLibrary="libhunspell-1.3.3.dylib"
+HunSpellLibrary="libhunspell-1.3.0.dylib"
 
 unset DYLD_LIBRARY_PATH LD_LIBRARY_PATH
 
@@ -783,11 +783,13 @@ EOF
                        "@executable_path/../${fwdir}/${version}${libnm}"\
                        "${target}"
        done
-       if [ ! -d "${condir}/translations" ]; then
-               mkdir -p "${condir}/translations"
+       if [ -d "${source}"/translations ]; then
+               if [ ! -d "${condir}/translations" ]; then
+                       mkdir -p "${condir}/translations"
+               fi
+               echo Copy Qt translations to "${condir}/translations"
+               cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
        fi
-       echo Copy Qt translations to "${condir}/translations"
-       cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
 }
 
 # -------------------------