Changeset 1710


Ignore:
Timestamp:
2000-11-29T05:37:28+13:00 (23 years ago)
Author:
say1
Message:

RecPlug now skips CVS directories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/RecPlug.pm

    r1424 r1710  
    7272    my $count = 0;
    7373
     74 
    7475    # see if this is a directory
    7576    my $dirname = &util::filename_cat ($base_dir, $file);
     
    8283            return;
    8384        }
     85    if ($dirname =~ m|/CVS$|) {
     86        print $outhandle "RecPlug: $dirname is a CVS directory, skipping.\n";
     87        return 1;
     88    }
    8489
    8590    @dir = readdir (DIR);
Note: See TracChangeset for help on using the changeset viewer.