Changeset 11442


Ignore:
Timestamp:
2006-03-21T14:18:12+12:00 (18 years ago)
Author:
kjdon
Message:

check the result of read_file before continuing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/explode_metadata_database.pl

    r11350 r11442  
    167167    $plugobj->read_file($filename, $input_encoding, undef, \$text);
    168168
     169    # is there any text in the file??
     170    die "\n" unless length($text);
    169171    # Create a directory to store the document files...
    170172    my ($documents_directory) = ($filename =~ /(.*)\.[^\.]+$/);
Note: See TracChangeset for help on using the changeset viewer.