Changeset 19622

Show
Ignore:
Timestamp:
27.05.2009 15:12:38 (10 years ago)
Author:
ak19
Message:

the filename for metadata needs to have the slashes the right way

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/OAIPlugin.pm

    r19493 r19622  
    220220         
    221221        my $src_filename = &util::filename_cat($filename_dir, $url_array->[$i]); 
    222          
    223222        if (-e $src_filename) { 
    224223        $srcdoc_pos = $i; 
    225224        $srcdoc_exists = 1; 
    226         $filename_for_metadata = $url_array->[$i]; 
     225        # get the slashes the right way, use filename_cat 
     226        $filename_for_metadata = &util::filename_cat($url_array->[$i]); 
    227227        last; 
    228228        }