[LON-CAPA-cvs] cvs: loncom /interface printout.pl

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 01 Aug 2002 18:09:27 -0000


sakharuk		Thu Aug  1 14:09:27 2002 EDT

  Modified files:              
    /loncom/interface	printout.pl 
  Log:
  Changed a little bit - remove unlink which was transfered to londefdef.pm.
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.12 loncom/interface/printout.pl:1.13
--- loncom/interface/printout.pl:1.12	Thu Aug  1 11:41:41 2002
+++ loncom/interface/printout.pl	Thu Aug  1 14:09:27 2002
@@ -9,8 +9,6 @@
 $figfile =~ s/^([^\.]+printout)[^t]+\.tex/$1\.dat/;
 my $duefile = $texfile;
 $duefile =~ s/^([^\.]+printout)[^t]+\.tex/$1\.due/;
-my $tblfile = $texfile;
-$tblfile =~ s/^([^\.]+printout)[^t]+\.tex/$1\.tbl/;
 if (-e $figfile) {
     my $temporary_file=IO::File->new($figfile) || die "Couldn't open file for reading: $!\n";
     my @content_of_file = <$temporary_file>;
@@ -69,7 +67,6 @@
 my @garb = ($texlog,$texaux,$texdvi,$texps);
 unlink @garb;
 unlink $duefile;
-unlink $tblfile;
 print "<a href=\"/prtspool/$name_file\">Your PDF document</a>\n";
 print "\n";