diff options
author | necoro <> | 2007-08-05 04:34:36 +0000 |
---|---|---|
committer | necoro <> | 2007-08-05 04:34:36 +0000 |
commit | 9e8f51b621ed702ab07740c4b5e230d3fc92ddd2 (patch) | |
tree | 3c37abc4bbc1a828aeb1d875abf5d8bb8cb07afa | |
parent | f8c45cec4d4cb4c82475516910c94911909c9e9b (diff) | |
download | portato-9e8f51b621ed702ab07740c4b5e230d3fc92ddd2.tar.gz portato-9e8f51b621ed702ab07740c4b5e230d3fc92ddd2.tar.bz2 portato-9e8f51b621ed702ab07740c4b5e230d3fc92ddd2.zip |
pocompile test
-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 |