Changeset 20769
- Timestamp:
- 2009-10-01T18:58:17+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/inexport.pm
r20764 r20769 182 182 183 183 $situated_dir =~ s/[\\\/]+$//; # remove tailing slashes 184 184 $situated_dir =~ s/\\/\\\\/g; # need to protect windows slash \ in regular expression 185 185 186 # Go through existing_files, and mark anything that is contained 186 187 # within 'situated_dir' to be reindexed (in case some of the metadata … … 190 191 191 192 foreach my $existing_f (keys %{$block_hash->{'existing_files'}}) { 192 # need to protect windows slash \ in regular expression? 193 193 194 194 if ($existing_f =~ m/^$situated_dir/) { 195 195 push(@$reindex_files,$existing_f);
Note:
See TracChangeset
for help on using the changeset viewer.