[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

raeburn raeburn at source.lon-capa.org
Tue Jan 15 12:37:45 EST 2013


raeburn		Tue Jan 15 17:37:45 2013 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Correction to change in rev. 1.1066.
    &cleanup_empty_dirs() calls itself recursively.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1110 loncom/interface/loncommon.pm:1.1111
--- loncom/interface/loncommon.pm:1.1110	Wed Jan  9 03:56:27 2013
+++ loncom/interface/loncommon.pm	Tue Jan 15 17:37:45 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1110 2013/01/09 03:56:27 raeburn Exp $
+# $Id: loncommon.pm,v 1.1111 2013/01/15 17:37:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -11626,7 +11626,7 @@
             my $numitems = 0;
             foreach my $item (@dircontents) {
                 if (-d "$path/$item") {
-                    &recurse_dirs("$path/$item");
+                    &cleanup_empty_dirs("$path/$item");
                     if (-e "$path/$item") {
                         $numitems ++;
                     }




More information about the LON-CAPA-cvs mailing list