Thanos Chatziathanassiou
Tue, 13 Jul 2004 05:35:17 -0700
Hi list.
Regards, Thanos Chatziathanassiou
diff -u Load.pm.orig Load.pm
--- Load.pm.orig 2004-07-13 15:02:42.000000000 +0300
+++ Load.pm 2004-07-13 15:07:05.000000000 +0300
@@ -65,9 +65,19 @@
# recurse down directories and compile the scripts
if(-d $file && ! -l $file) {
$file =~ s|/$||;
+ #extra patch here to ommit certain directories. makes NFS compiles really
faster
+ #dirs to ommit should be in $args{'Ommit_Dirs'}
+ foreach (@{$args{'Ommit_Dirs'}}) {
+ if ($file eq $_) {
+ if($args{Debug} < 0) {
+ warn("skipping compile of files in $file : Ommit_Dirs
directive");
+ }
+ return;
+ }
+ }
+ #end patch
opendir(DIR, $file) || die("can't open $file for reading: $!");
my @files = readdir(DIR);
close DIR;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]