]> git.lyx.org Git - lyx.git/blobdiff - development/LyX-Mac-binary-release.sh
Simplify Changers interface
[lyx.git] / development / LyX-Mac-binary-release.sh
index 48300fa4a7c833c2e5269c4ea9879b21d6ac3d74..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
 
@@ -187,7 +187,6 @@ while [ $# -gt 0 ]; do
                ;;
        --with-qt-dir=*)
                QTDIR=$(echo ${1}|cut -d= -f2)
-               export PATH="${QTDIR}/bin:${PATH}"
                shift
                ;;
        --with-macosx-target=*)
@@ -784,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"
 }
 
 # -------------------------