[Po4a-commits] "po4a/scripts po4aman-display-po,1.8,1.9"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Thu Jun 8 21:41:40 UTC 2006
Update of /cvsroot/po4a/po4a/scripts
In directory haydn:/tmp/cvs-serv10656/scripts
Modified Files:
po4aman-display-po
Log Message:
Do not use the 'function' keyword for functions. (yields a syntax error
with dash). Thanks to Julien Cristau.
Index: po4aman-display-po
===================================================================
RCS file: /cvsroot/po4a/po4a/scripts/po4aman-display-po,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- po4aman-display-po 16 Apr 2006 22:09:33 -0000 1.8
+++ po4aman-display-po 8 Jun 2006 21:41:37 -0000 1.9
@@ -7,12 +7,12 @@
OPTIONS=""
-function usage() {
+usage() {
echo "Usage: $0 -p PO_FILE [-m MASTER_FILE] [-o PO4A_OPT]"
return 0
}
-function error () {
+error () {
echo "Error: $1" 1>&2
exit 1
}
More information about the Po4a-commits
mailing list