Ignore:
Timestamp:
2007-06-14T13:24:22+12:00 (17 years ago)
Author:
xiao
Message:

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

File:
1 edited

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) {
Note: See TracChangeset for help on using the changeset viewer.