freeside/FS/FS cust_bill.pm,1.89,1.90
ivan
ivan at pouncequick.420.am
Wed May 26 11:59:33 PDT 2004
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv7020/FS/FS
Modified Files:
cust_bill.pm
Log Message:
require the version of File::Temp with the OO interface
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- cust_bill.pm 26 May 2004 11:11:52 -0000 1.89
+++ cust_bill.pm 26 May 2004 18:59:28 -0000 1.90
@@ -5,7 +5,7 @@
use vars qw( $invoice_lines @buf ); #yuck
use Date::Format;
use Text::Template;
-use File::Temp;
+use File::Temp 0.14;
use FS::UID qw( datasrc );
use FS::Record qw( qsearch qsearchs );
use FS::Misc qw( send_email );
@@ -1143,9 +1143,9 @@
chdir($dir);
system("pslatex $file.tex >/dev/null 2>&1") == 0
- or die "pslatex failed: $!";
+ or die "pslatex $file.tex failed: $!";
system("pslatex $file.tex >/dev/null 2>&1") == 0
- or die "pslatex failed: $!";
+ or die "pslatex $file.tex failed: $!";
system('dvips', '-q', '-t', 'letter', "$file.dvi", '-o', "$file.ps" ) == 0
or die "dbips failed: $!";
@@ -1190,9 +1190,9 @@
#! LaTeX Error: Unknown graphics extension: .eps.
system("pslatex $file.tex >/dev/null 2>&1") == 0
- or die "pslatex failed: $!";
+ or die "pslatex $file.tex failed: $!";
system("pslatex $file.tex >/dev/null 2>&1") == 0
- or die "pslatex failed: $!";
+ or die "pslatex $file.tex failed: $!";
#system('dvipdf', "$file.dvi", "$file.pdf" );
system(
@@ -1200,7 +1200,7 @@
"| gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$file.pdf ".
" -c save pop -"
) == 0
- or die "dvips failed: $!";
+ or die "dvips | gs failed: $!";
open(PDF, "<$file.pdf")
or die "can't open $file.pdf: $! (error in LaTeX template?)\n";
More information about the freeside-commits
mailing list