Changeset 27967 for other-projects


Ignore:
Timestamp:
08/02/13 22:29:17 (8 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.