aboutsummaryrefslogtreecommitdiff
path: root/build_dict.sh
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-20 11:43:28 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-20 11:43:28 -0700
commitfbb763559425744e33d909c550994a36afe66b3e (patch)
tree74004da11c676e5df732444c8c10403ebbd32708 /build_dict.sh
parent23327d7e357c358654ac302966819808d2bb2215 (diff)
Adding converted json dictionaries
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