Changeset 23413


Ignore:
Timestamp:
12/08/10 11:01:44 (11 years ago)
Author:
davidb
Message:

Recent change to force Sstopping if can't find associated file is too harsh

File:
1 edited

Legend:

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

    r23387 r23413  
    10881088    # remove all associated files with the same name
    10891089    $self->delete_assoc_file ($assoc_filename);
    1090    
    1091     if (!&util::fd_exists($real_filename)) {
    1092     print STDERR "****** doc::associate_file(): Failed to find the file $real_filename\n";
    1093     exit -1;
    1094     }
     1090
     1091    # Too harsh a requirement
     1092    # Definitely get HTML docs, for example, with some missing
     1093    # support files
     1094#    if (!&util::fd_exists($real_filename)) {
     1095#   print STDERR "****** doc::associate_file(): Failed to find the file $real_filename\n";
     1096#   exit -1;
     1097#    }
     1098
    10951099#    print STDERR "**** is the following a UTF8 rep of *real* filename?\n   $real_filename\n";
    10961100#    print STDERR "****##### so, ensure it is before storing?!?!?\n";
Note: See TracChangeset for help on using the changeset viewer.