summaryrefslogtreecommitdiff
path: root/pocompile.sh
diff options
context:
space:
mode:
authornecoro <>2007-08-05 04:33:32 +0000
committernecoro <>2007-08-05 04:33:32 +0000
commitf8c45cec4d4cb4c82475516910c94911909c9e9b (patch)
tree8e475e4b64e0cb431881e10e796e65ef34cc0886 /pocompile.sh
parent06cb734dafe155dd6a22c7d6baf6fdd4b1fb2804 (diff)
downloadportato-f8c45cec4d4cb4c82475516910c94911909c9e9b.tar.gz
portato-f8c45cec4d4cb4c82475516910c94911909c9e9b.tar.bz2
portato-f8c45cec4d4cb4c82475516910c94911909c9e9b.zip
pocompile test
Diffstat (limited to 'pocompile.sh')
-rwxr-xr-xpocompile.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/pocompile.sh b/pocompile.sh
index b895b9a..1800c58 100755
--- a/pocompile.sh
+++ b/pocompile.sh
@@ -7,5 +7,10 @@ for ITEM in *.po; do
ITEM2=${ITEM/.po/}
LANG=${ITEM2/_??/}
mkdir ${LANG}/LC_MESSAGES -p
- msgfmt ${ITEM} -o ${LANG}/LC_MESSAGES/portato.mo
+
+ if [ $1 == "-emerge" ]; then
+ msgfmt ${ITEM} -o portato.${LANG}
+ else
+ msgfmt ${ITEM} -o ${LANG}/LC_MESSAGES/portato.mo
+ fi
done