Changeset 11404 for trunk/gli


Ignore:
Timestamp:
2006-03-17T17:22:51+13:00 (18 years ago)
Author:
mdewsnip
Message:

Fixed a bug in the new "not one file only" metadata stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/metadata/MetadataXMLFile.java

    r11301 r11404  
    207207        // Does this fileset specify metadata for one file only?
    208208        is_one_file_only_metadata = true;
    209         if (current_filename_element_value.indexOf("*") != -1) {
     209        if (current_filename_element_value.indexOf("*") != -1 && !current_filename_element_value.equals(DIRECTORY_FILENAME)) {
     210            // No, it specifies metadata for multiple files (but not all the files in the directory)
    210211            is_one_file_only_metadata = false;
    211212        }
Note: See TracChangeset for help on using the changeset viewer.