--- a/unix/fcitx/gen_fcitx_mozc_i18n.sh 2013-09-13 06:26:44.836849462 -0400
+++ b/unix/fcitx/gen_fcitx_mozc_i18n.sh 2013-09-13 06:27:01.408641126 -0400
@@ -7,5 +7,5 @@
for pofile in *.po
do
- msgfmt "$pofile" -o "$1/${pofile/po/mo}"
-done
\ No newline at end of file
+ msgfmt "$pofile" -o "$1/`basename ${pofile} .po`.mo"
+done