mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Correct copy of hunspell dictionary to bundle with internal hunspell w/o framework
This commit is contained in:
parent
3ddb4c5389
commit
ddc29fbdbf
@ -944,12 +944,10 @@ copy_dictionaries() {
|
|||||||
cp -p -r "${ASpellInstallDir}/lib/aspell-0.60"/* "${ASpellResources}"/data
|
cp -p -r "${ASpellInstallDir}/lib/aspell-0.60"/* "${ASpellResources}"/data
|
||||||
cp -p -r "${ASpellInstallDir}/share/aspell"/* "${ASpellResources}"/dicts
|
cp -p -r "${ASpellInstallDir}/share/aspell"/* "${ASpellResources}"/dicts
|
||||||
fi
|
fi
|
||||||
if [ -d "${HunSpellInstallDir}" -a "yes" = "${hunspell_dictionaries}" ]; then
|
if [ -d "${DictionarySourceDir}" -a "yes" = "${hunspell_dictionaries}" ]; then
|
||||||
HunSpellResources="${LyxAppPrefix}/Contents/Resources"
|
HunSpellResources="${LyxAppPrefix}/Contents/Resources"
|
||||||
if [ -d "${DictionarySourceDir}" ]; then
|
( cd "${DictionarySourceDir}" && find dicts -name .svn -prune -o -type f -print | cpio -pmdv "${HunSpellResources}" )
|
||||||
( cd "${DictionarySourceDir}" && find dicts -name .svn -prune -o -type f -print | cpio -pmdv "${HunSpellResources}" )
|
deduplicate "${HunSpellResources}"/dicts
|
||||||
deduplicate "${HunSpellResources}"/dicts
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
if [ -d "${DictionarySourceDir}" -a "yes" = "${thesaurus_deployment}" ]; then
|
if [ -d "${DictionarySourceDir}" -a "yes" = "${thesaurus_deployment}" ]; then
|
||||||
MyThesResources="${LyxAppPrefix}/Contents/Resources"
|
MyThesResources="${LyxAppPrefix}/Contents/Resources"
|
||||||
@ -1075,7 +1073,7 @@ if [ ${LyxOnlyPackage:-"no"} = "no" ]; then
|
|||||||
build_lyx
|
build_lyx
|
||||||
convert_universal
|
convert_universal
|
||||||
copy_dictionaries
|
copy_dictionaries
|
||||||
test -n "${CODESIGN_IDENTITY}" && code_sign "${LYX_BUNDLE_PATH}"
|
|
||||||
find "${LyxAppPrefix}" -type d -exec chmod go-w '{}' \;
|
find "${LyxAppPrefix}" -type d -exec chmod go-w '{}' \;
|
||||||
|
test -n "${CODESIGN_IDENTITY}" && code_sign "${LYX_BUNDLE_PATH}"
|
||||||
fi
|
fi
|
||||||
build_package
|
build_package
|
||||||
|
Loading…
Reference in New Issue
Block a user