Changeset 14178

Show
Ignore:
Timestamp:
14.06.2007 13:24:22 (12 years ago)
Author:
xiao
Message:

The directory arguments of wget command need to be quoted to work properly on Windows OS

Files:
1 modified

Legend:

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

    r9952 r14178  
    214214    my $full_id_fname = &util::filename_cat($output_dir,$id_fname); 
    215215 
    216     my $wget_cmd = "wget $wgetopt --quiet -O $full_id_fname \"$doc_url\""; 
     216    my $wget_cmd = "wget $wgetopt --quiet -O \"$full_id_fname\" \"$doc_url\""; 
    217217 
    218218    if (system($wget_cmd)!=0) {