[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

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


sakharuk		Thu Aug  1 14:15:09 2002 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Changes were done for table environment.
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.80 loncom/xml/londefdef.pm:1.81
--- loncom/xml/londefdef.pm:1.80	Wed Jul 31 10:55:56 2002
+++ loncom/xml/londefdef.pm	Thu Aug  1 14:15:09 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.80 2002/07/31 14:55:56 sakharuk Exp $
+# $Id: londefdef.pm,v 1.81 2002/08/01 18:15:09 sakharuk Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -1405,6 +1405,9 @@
 		    $currentstring = $Apache::londefdef::table[-1]{'output'};
 		    $currentstring =~ s/\\\\\s+\\\\/\\\\/g; 
 		    pop @Apache::londefdef::table;
+		    if (-e $filename) {
+			unlink $filename;
+		    }
 		}
 	    }
 	   return $currentstring;