[freeside-commits] freeside/FS/FS Misc.pm,1.43,1.44
Ivan,,,
ivan at wavetail.420.am
Wed Apr 13 17:11:07 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv12106
Modified Files:
Misc.pm
Log Message:
check failure of pslatex by presence of resulting .dvi file rather than exit status, eliminates spurious pslatex errors, RT#12454
Index: Misc.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Misc.pm,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -w -d -r1.43 -r1.44
--- Misc.pm 29 Dec 2010 00:02:17 -0000 1.43
+++ Misc.pm 14 Apr 2011 00:11:04 -0000 1.44
@@ -767,10 +767,13 @@
local($SIG{CHLD}) = sub {};
run( \@cmd, '>'=>'/dev/null', '2>'=>'/dev/null', timeout($timeout) )
- or die "pslatex $file.tex failed; see $file.log for details?\n";
+ or warn "bad exit status from pslatex pass $_\n";
}
+ return if -e "$file.dvi" && -s "$file.dvi";
+ die "pslatex $file.tex failed; see $file.log for details?\n";
+
}
=item print ARRAYREF
More information about the freeside-commits
mailing list