Changeset 17913

Show
Ignore:
Timestamp:
24.11.2008 22:50:55 (11 years ago)
Author:
davidb
Message:

-collectdir and -exportdir needed there directories protected by "///" to cope with spaces in directory name. Problem originally encountered on Windows.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/g2f-import.pl

    r17215 r17913  
    247247 
    248248    $gs_export_opts .= " -language $language" if ($language); 
    249     $gs_export_opts .= " -collectdir $collectdir" if ($collectdir); 
     249    $gs_export_opts .= " -collectdir \"$collectdir\"" if ($collectdir); 
    250250    $gs_export_opts .= " -removeold" if ($removeold); 
    251251    $gs_export_opts .= " -maxdocs $maxdocs" if ($maxdocs); 
    252252 
    253     $gs_export_opts .= " -exportdir $export_dir"; 
     253    $gs_export_opts .= " -exportdir \"$export_dir\""; 
    254254 
    255255    my $gs_export_arguments = "$gs_export_opts $gs_col";