Changeset 27967

Show
Ignore:
Timestamp:
02.08.2013 22:29:17 (6 years ago)
Author:
ak19
Message:

Skip the 'cache' folder, which is the location where the paged_imgs from a pdf are generated for the Enhanced-PDF collection, since the path to the cached folder depends on the path to the GS2 installation on whichever machine the model col and the diffcol's test col is built

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/diffcol/diffutil.pm

    r27604 r27967  
    1616 
    1717    opendir(DIR, $dirname) || die "can't opendir $dirname: $!"; 
    18     @local_files = grep { /^\w/ && (-d  &util::filename_cat($dirname,$_)|| -f &util::filename_cat($dirname,$_))} readdir(DIR); 
     18    my $skipdirs_re = qr/^cached$/; 
     19    @local_files = grep { /^\w/ && ((-d  &util::filename_cat($dirname,$_) && $_ !~ m/$skipdirs_re/) || -f &util::filename_cat($dirname,$_))} readdir(DIR); 
    1920    closedir DIR; 
    2021