Ignore:
Timestamp:
2010-05-03T12:08:38+12:00 (14 years ago)
Author:
davidb
Message:

With the switch to using absolute names in the incremental building code, the manifest code now needs to add in the full-path prefix to its list of names to be compatible with the rest of the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/import.pl

    r21822 r22011  
    667667
    668668    my @deleted_files = keys %{$manifest_lookup->{'delete'}};
    669 
    670     &inexport::mark_docs_for_deletion($archive_info,{},\@deleted_files,$archivedir);
     669    my @full_deleted_files = ();
     670
     671    foreach my $df (@deleted_files) {
     672        my $full_df = &util::filename_cat($importdir,$df);
     673        push(@full_deleted_files,$full_df);
     674    }
     675
     676    &inexport::mark_docs_for_deletion($archive_info,{},
     677                      \@full_deleted_files,
     678                      $archivedir, $verbosity, "delete");
    671679    }
    672680
Note: See TracChangeset for help on using the changeset viewer.