diff options
-rwxr-xr-x | pocompile.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pocompile.sh b/pocompile.sh index 1800c58..9b265d4 100755 --- a/pocompile.sh +++ b/pocompile.sh @@ -6,11 +6,12 @@ cd i18n for ITEM in *.po; do ITEM2=${ITEM/.po/} LANG=${ITEM2/_??/} - mkdir ${LANG}/LC_MESSAGES -p if [ $1 == "-emerge" ]; then - msgfmt ${ITEM} -o portato.${LANG} + mkdir po -p + msgfmt ${ITEM} -o po/portato.${LANG} else + mkdir ${LANG}/LC_MESSAGES -p msgfmt ${ITEM} -o ${LANG}/LC_MESSAGES/portato.mo fi done |