Changeset 19180

Show
Ignore:
Timestamp:
22.04.2009 11:22:14 (10 years ago)
Author:
kjdon
Message:

remove any slashes from OID when generating an archive dir, otherwise may get different directory strucure between windows and linux and not sure that it would work properly like that

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugouts/BasePlugout.pm

    r18659 r19180  
    552552   my($working_info,$working_dir,$OID) = @_;       
    553553    
     554    
    554555   my $doc_dir = ""; 
    555556   my $doc_dir_rest = $OID; 
     557   # remove any \ and / from the OID 
     558   $doc_dir_rest =~ s/[\\\/]//g; 
    556559   my $doc_dir_num = 0; 
    557560