texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp texi2any.pl


From: Patrice Dumas
Subject: texinfo/tp texi2any.pl
Date: Sun, 27 Nov 2011 23:05:44 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/11/27 23:05:44

Modified files:
        tp             : texi2any.pl 

Log message:
        Remove resulting files only if there were errors!

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/texi2any.pl?cvsroot=texinfo&r1=1.92&r2=1.93

Patches:
Index: texi2any.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/texi2any.pl,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -b -r1.92 -r1.93
--- texi2any.pl 15 Nov 2011 23:46:47 -0000      1.92
+++ texi2any.pl 27 Nov 2011 23:05:44 -0000      1.93
@@ -430,7 +430,7 @@
   my $error_count = shift;
   my $opened_files = shift;
 
-  if ($opened_files and !get_conf('FORCE')) {
+  if ($error_count and $opened_files and !get_conf('FORCE')) {
     while (@$opened_files) {
       my $opened_file = shift (@$opened_files);
       unlink ($opened_file);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]