Changeset 23413

Show
Ignore:
Timestamp:
08.12.2010 11:01:44 (8 years ago)
Author:
davidb
Message:

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

Files:
1 modified

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";