Changeset 24513

Show
Ignore:
Timestamp:
29.08.2011 15:01:43 (8 years ago)
Author:
ak19
Message:

Thanks to John Rose for identifying a bug: gsConvert.pl wasn't putting filenames in quotes (preserving spaces in the paths) when launching wvware.pl

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gsConvert.pl

    r24375 r24513  
    526526     
    527527    # need to ensure that the path to perl is quoted (in case there's spaces in it) 
    528     my $launch_cmd = "\"".&util::get_perl_exec()."\" -S wvware.pl $input_filename $output_filestem $faillogfile $verbosity $timeout";     
     528    my $launch_cmd = "\"".&util::get_perl_exec()."\" -S wvware.pl \"$input_filename\" \"$output_filestem\" \"$faillogfile\" $verbosity $timeout";     
    529529 
    530530#    print STDERR "***** wvware launch cmd = $launch_cmd\n";