summarylogtreecommitdiffstats
path: root/mod-generate-dictionary.sh
diff options
context:
space:
mode:
authorponsfoot2017-10-09 00:30:05 +0900
committerponsfoot2017-10-09 00:30:05 +0900
commitb23084a9aea5d79255bce5fc0a422dcb8e796462 (patch)
tree1da5a80caf0b2266e229ef6c6f580e0d620cff2e /mod-generate-dictionary.sh
parentd476a8b4751ab2375fe1c5815ae65f1a23a3d438 (diff)
downloadaur-b23084a9aea5d79255bce5fc0a422dcb8e796462.tar.gz
utdic2: upstream update 2.20.2673.102.20171008-1
Diffstat (limited to 'mod-generate-dictionary.sh')
-rwxr-xr-xmod-generate-dictionary.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/mod-generate-dictionary.sh b/mod-generate-dictionary.sh
index a1638c63efbc..6f23a7d61351 100755
--- a/mod-generate-dictionary.sh
+++ b/mod-generate-dictionary.sh
@@ -2,7 +2,7 @@
[[ ! -f generate-dictionary.sh ]] && { echo "generate-dictionary.sh not found."; exit 1; }
-sed -i.bak \
+sed -i.bak1 \
-e '1s/sh/sh -e/' \
-e 's/ruby \(.*\)/ruby -EUTF-8 \1/g' \
generate-dictionary.sh \
@@ -13,17 +13,17 @@ sed -i.bak \
# 3) Specify $srcdir/JIGYOSYO.CSV
# 4) Modify mozc-\$MOZCVER to mozc
# 5) Comment out making xz archive
-sed -i.bak \
+sed -i.bak2 \
-e 's/^\(MOZCVER=.*\|DICVER=.*\|NICODIC=.*\)/#&/g' \
- -e '/rm -rf mozc-$MOZCVER/s/^/#/g' \
- -e '/echo "extract official mozc..."/,+1s/^/#/g' \
- -e '/rm -f \*\.zip/,+6s/^/#/g' \
- -e '/cd chimei/a cp -f ../../KEN_ALL.CSV .' \
+ -e '/^rm -rf ..\/mozc-/s/^/#/g' \
+ -e '/echo "extract official mozc..."/,+3s/^/#/g' \
+ -e '/^wget /,+3s/^/#/g' \
+ -e '/# modify zip code data/a cp -f ../../KEN_ALL.CSV .' \
-e 's|JIGYOSYO.CSV|../../JIGYOSYO.CSV|' \
-e 's|mozc-\$MOZCVER|mozc|g' \
-e '/# compress mozc-ut/,+4s/^/#/g' \
generate-dictionary.sh
-sed -i.bak \
+sed -i.bak2 \
-e '/^\(#\|ruby\|$\)/!s/^/#/g' \
edict-katakana-english/generate-dictionary.sh