[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r19964: {translation} a comment is a comment (translation/trunk/tools/gsoc09)



Author: runa
Date: 2009-07-09 13:58:43 -0400 (Thu, 09 Jul 2009)
New Revision: 19964

Modified:
   translation/trunk/tools/gsoc09/wml2po.sh
Log:
a comment is a comment

Modified: translation/trunk/tools/gsoc09/wml2po.sh
===================================================================
--- translation/trunk/tools/gsoc09/wml2po.sh	2009-07-09 17:48:22 UTC (rev 19963)
+++ translation/trunk/tools/gsoc09/wml2po.sh	2009-07-09 17:58:43 UTC (rev 19964)
@@ -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