mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +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,13 +944,11 @@ copy_dictionaries() {
|
||||
cp -p -r "${ASpellInstallDir}/lib/aspell-0.60"/* "${ASpellResources}"/data
|
||||
cp -p -r "${ASpellInstallDir}/share/aspell"/* "${ASpellResources}"/dicts
|
||||
fi
|
||||
if [ -d "${HunSpellInstallDir}" -a "yes" = "${hunspell_dictionaries}" ]; then
|
||||
if [ -d "${DictionarySourceDir}" -a "yes" = "${hunspell_dictionaries}" ]; then
|
||||
HunSpellResources="${LyxAppPrefix}/Contents/Resources"
|
||||
if [ -d "${DictionarySourceDir}" ]; then
|
||||
( cd "${DictionarySourceDir}" && find dicts -name .svn -prune -o -type f -print | cpio -pmdv "${HunSpellResources}" )
|
||||
deduplicate "${HunSpellResources}"/dicts
|
||||
fi
|
||||
fi
|
||||
if [ -d "${DictionarySourceDir}" -a "yes" = "${thesaurus_deployment}" ]; then
|
||||
MyThesResources="${LyxAppPrefix}/Contents/Resources"
|
||||
( cd "${DictionarySourceDir}" && find thes -name .svn -prune -o -type f -print | cpio -pmdv "${MyThesResources}" )
|
||||
@ -1075,7 +1073,7 @@ if [ ${LyxOnlyPackage:-"no"} = "no" ]; then
|
||||
build_lyx
|
||||
convert_universal
|
||||
copy_dictionaries
|
||||
test -n "${CODESIGN_IDENTITY}" && code_sign "${LYX_BUNDLE_PATH}"
|
||||
find "${LyxAppPrefix}" -type d -exec chmod go-w '{}' \;
|
||||
test -n "${CODESIGN_IDENTITY}" && code_sign "${LYX_BUNDLE_PATH}"
|
||||
fi
|
||||
build_package
|
||||
|
Loading…
Reference in New Issue
Block a user