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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 22 Apr 2005 20:59:32 -0000


albertel		Fri Apr 22 16:59:32 2005 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - logic was backwards
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.267 loncom/xml/londefdef.pm:1.268
--- loncom/xml/londefdef.pm:1.267	Thu Apr  7 02:56:27 2005
+++ loncom/xml/londefdef.pm	Fri Apr 22 16:59:31 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.267 2005/04/07 06:56:27 albertel Exp $
+# $Id: londefdef.pm,v 1.268 2005/04/22 20:59:31 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -3855,7 +3855,7 @@
 	    $src=~s/\.eps$/\.ps/;
 	    &Apache::lonxml::debug("Now looking for $src");
 	    #if no ps file try to replicate it
-	    if (not -e $src &&
+	    if (not -e $src ||
 		&Apache::lonnet::repcopy($src) ne 'ok') {
 		&Apache::lonxml::debug("Failed to find or replicate $src");