Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv2669
Modified Files:
html-build-upload.sh
Log Message:
little fixes
Index: html-build-upload.sh
===================================================================
RCS file: /cvsroot/po4a/po4a/html-build-upload.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- html-build-upload.sh 30 Jul 2004 11:11:31 -0000 1.2
+++ html-build-upload.sh 1 Aug 2004 09:28:42 -0000 1.3
@@ -7,11 +7,11 @@
#
# Mt.
-#set -e
+set -e # we want to fail on any error instead of risking uploading broken stuff
#set -x
function percent_lang {
- STATS=`msgfmt --statistics po/pod/$1.po 2>&1`
+ STATS=`msgfmt -o /dev/null --statistics po/pod/$1.po 2>&1`
YES=`echo $STATS | sed -n -e 's/^\([[:digit:]]*\).*$/\1/p'`
NO=`echo $STATS | sed -n -e
's/^\([[:digit:]]\+\)[^[:digit:]]\+\([[:digit:]]\+\).*$/\2/p'`
O3=`echo $STATS | sed -n -e
's/^\([[:digit:]]\+\)[^[:digit:]]\+\([[:digit:]]\+\)[^[:digit:]]\+\([[:digit:]]\+\).*$/\3/p'`
Show replies by date