[or-cvs] r19963: {translation} only exclude one type of comments (translation/trunk/tools/gsoc09)
runa at seul.org
runa at seul.org
Thu Jul 9 17:48:22 UTC 2009
Author: runa
Date: 2009-07-09 13:48:22 -0400 (Thu, 09 Jul 2009)
New Revision: 19963
Modified:
translation/trunk/tools/gsoc09/wml2po.sh
Log:
only exclude one type of comments
Modified: translation/trunk/tools/gsoc09/wml2po.sh
===================================================================
--- translation/trunk/tools/gsoc09/wml2po.sh 2009-07-09 16:12:45 UTC (rev 19962)
+++ translation/trunk/tools/gsoc09/wml2po.sh 2009-07-09 17:48:22 UTC (rev 19963)
@@ -75,7 +75,7 @@
# the file is updated.
if [ $poexist = 1 ]
then
- before=`grep -vE '^("POT-Creation-Date:|#)' "$popath/$dir/$pofile" | md5sum | cut -d " " -f1`
+ before=`grep -vE '^("POT-Creation-Date:|#:)' "$popath/$dir/$pofile" | md5sum | cut -d " " -f1`
fi
# Update the file
@@ -88,7 +88,7 @@
# calculate the hash again.
if [ $poexist = 1 ]
then
- after=`grep -vE '^("POT-Creation-Date:|#)' "$popath/$dir/$pofile" | md5sum | cut -d " " -f1`
+ after=`grep -vE '^("POT-Creation-Date:|#:)' "$popath/$dir/$pofile" | md5sum | cut -d " " -f1`
fi
# If the file did exist before running po4a-updatepo, we
More information about the tor-commits
mailing list