Ignore:
Timestamp:
2016-07-01T20:31:42+12:00 (8 years ago)
Author:
ak19
Message:
  1. Reindexing files with a user-generated manifest file did not work because modifications for generating nightly binaries broke this. Absolute file paths were replaced with filepaths containing placeholders in a pass by reference value and therefore affected other parts of the code. In this case, the code used for reindexing files mentioned in the manifest file. Some files ended up containing placeholders and couldn't be located and reindexed. 2. Use FileUtils method instead of going through deprecated util method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/manifest.pm

    r28211 r30597  
    213213        $filename = &util::placeholders_to_abspath($filename);
    214214
    215         if (!&util::filename_is_absolute($filename)) {
     215        if (!&FileUtils::isFilenameAbsolute($filename)) {
    216216            $filename = &util::filename_cat($ENV{'GSDLCOLLECTDIR'},$filename);
    217217        }
Note: See TracChangeset for help on using the changeset viewer.