[Po4a-commits] "po4a/lib/Locale/Po4a Po.pm,1.56,1.57"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sat Feb 25 15:20:07 UTC 2006
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv1839/lib/Locale/Po4a
Modified Files:
Po.pm
Log Message:
be more restrictive on the lines ignored by diff in write_if_needed.
Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- Po.pm 24 Feb 2006 18:29:04 -0000 1.56
+++ Po.pm 25 Feb 2006 15:20:05 -0000 1.57
@@ -325,7 +325,7 @@
OPEN => 0,
UNLINK => 0);
$self->write($tmp_filename);
- $diff = qx(diff -q -I'#:' -I'POT-Creation-Date:' -I'PO-Revision-Date:' $filename $tmp_filename);
+ $diff = qx(diff -q -I'^#:' -I'^"POT-Creation-Date:' -I'^"PO-Revision-Date:' $filename $tmp_filename);
if ( $diff eq "" ) {
unlink $tmp_filename or
die wrap_msg(dgettext("po4a","Can't unlink %s."),
More information about the Po4a-commits
mailing list