summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/spell/fr/main.aap7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/spell/fr/main.aap b/runtime/spell/fr/main.aap
index ca160c5a5..4580c9c69 100644
--- a/runtime/spell/fr/main.aap
+++ b/runtime/spell/fr/main.aap
@@ -4,7 +4,7 @@
@if os.path.exists('../../../src/vim'):
VIM = ../../../src/vim
@else:
- VIM = vim
+ :progsearch VIM vim
SPELLDIR = ..
FILES = fr_FR.aff fr_FR.dic
@@ -38,8 +38,9 @@ fr_FR.aff fr_FR.dic: {buildcheck=}
@if not os.path.exists('fr_FR.orig.aff'):
:copy fr_FR.aff fr_FR.orig.aff
@if not os.path.exists('fr_FR.orig.dic'):
- :copy fr_FR.aff fr_FR.orig.dic
- :sys patch <fr_FR.diff
+ :copy fr_FR.dic fr_FR.orig.dic
+ @if os.path.exists('fr_FR.diff'):
+ :sys patch <fr_FR.diff
# Generate diff files, so that others can get the OpenOffice files and apply