Skip to content

Commit 18fd6a0

Browse files
akiiruifelixonmars
authored andcommitted
Remove duplicate words when build
1 parent 1310ec3 commit 18fd6a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ zhwiki.source: $(FILENAME) $(WEB_SLANG_FILE)
2626
cat $(FILENAME) $(WEB_SLANG_FILE) > zhwiki.source
2727

2828
zhwiki.raw: zhwiki.source
29-
./convert.py zhwiki.source > zhwiki.raw
29+
./convert.py zhwiki.source > zhwiki.raw.tmp
30+
sort -u zhwiki.raw.tmp > zhwiki.raw
3031

3132
zhwiki.dict: zhwiki.raw
3233
libime_pinyindict zhwiki.raw zhwiki.dict

0 commit comments

Comments
 (0)