[LON-CAPA-cvs] cvs: doc /loncapafiles removenolongerused.piml

raeburn raeburn at source.lon-capa.org
Fri Jun 20 17:21:44 EDT 2014


raeburn		Fri Jun 20 21:21:44 2014 EDT

  Modified files:              
    /doc/loncapafiles	removenolongerused.piml 
  Log:
  File::Path (rev. 1.08) in RHEL5/CentOS5/SL5 has rmtree() instead of
  remove_tree() in File::Path (rev 2.08) RHEL6/CentOS6/SL6 etc.
  ( rmtree() retained as legacy sub in 2.08 and newer).
  
  
Index: doc/loncapafiles/removenolongerused.piml
diff -u doc/loncapafiles/removenolongerused.piml:1.10 doc/loncapafiles/removenolongerused.piml:1.11
--- doc/loncapafiles/removenolongerused.piml:1.10	Fri Jun 20 19:23:03 2014
+++ doc/loncapafiles/removenolongerused.piml	Fri Jun 20 21:21:44 2014
@@ -90,7 +90,7 @@
         chomp($choice);
         $choice =~ s/\s+//g;
         if ($choice eq 'Y') {
-            File::Path::remove_tree($dir);
+            File::Path::rmtree($dir);
         }
     }
 }




More information about the LON-CAPA-cvs mailing list