summaryrefslogtreecommitdiff
path: root/build_dict.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_dict.sh')
-rwxr-xr-xbuild_dict.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_dict.sh b/build_dict.sh
index 5dfad9b1..a13b4ed7 100755
--- a/build_dict.sh
+++ b/build_dict.sh
@@ -3,7 +3,7 @@
KANJIDIC=util/data/kanjidic
EDICT=util/data/edict
ENAMDICT=util/data/enamdict
-DICT=ext/jp/data/dict.json
+KRADFILE=util/data/kradfile
+DICT_DIR=ext/jp/data
-[ -f $DICT ] && rm $DICT
-util/compile.py --kanjidic $KANJIDIC --edict $EDICT $DICT --enamdict $ENAMDICT
+util/compile.py --kanjidic $KANJIDIC --kradfile $KRADFILE --edict $EDICT --enamdict $ENAMDICT $DICT_DIR