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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 05 Feb 2003 23:17:32 -0000


albertel		Wed Feb  5 18:17:32 2003 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - regexp was backwards, actually grabs the .ps now
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.110 loncom/xml/londefdef.pm:1.111
--- loncom/xml/londefdef.pm:1.110	Wed Feb  5 18:02:23 2003
+++ loncom/xml/londefdef.pm	Wed Feb  5 18:17:32 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.110 2003/02/05 23:02:23 albertel Exp $
+# $Id: londefdef.pm,v 1.111 2003/02/05 23:17:32 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -2585,7 +2585,7 @@
 	my $newsrc = $src;
 	$newsrc =~ s/\.(gif|jpg|png)$/.eps/;
 	if (not-e $newsrc && &Apache::lonnet::repcopy('/home/httpd/html'.$newsrc) ne 'OK') {
-	    $newsrc =~ s/\.ps$/\.eps/;
+	    $newsrc =~ s/\.eps$/\.ps/;
 	    &Apache::lonnet::repcopy('/home/httpd/html'.$newsrc);
 	}
     }