Ignore:
Timestamp:
2011-08-09T17:35:09+12:00 (13 years ago)
Author:
ak19
Message:

Added in verbosity option when launching wvware.pl, so that an unnecessary message can be suppressed at lower verbosity levels.

File:
1 edited

Legend:

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

    r24371 r24375  
    9191my $faillogfile="";
    9292my $timeout=0;
     93my $verbosity=0;
    9394
    9495sub main
     
    131132    print_usage();
    132133    }
    133      
     134
     135    $verbosity=$verbose if defined $verbose;
     136     
    134137    # Make sure the input file exists and can be opened for reading
    135138    if (scalar(@ARGV!=1)) {
     
    521524
    522525    my $wvware_status = 0;
    523    
     526   
    524527    # need to ensure that the path to perl is quoted (in case there's spaces in it)
    525     my $launch_cmd = "\"".&util::get_perl_exec()."\" -S wvware.pl $input_filename $output_filestem $faillogfile $timeout";   
     528    my $launch_cmd = "\"".&util::get_perl_exec()."\" -S wvware.pl $input_filename $output_filestem $faillogfile $verbosity $timeout";   
    526529
    527530#    print STDERR "***** wvware launch cmd = $launch_cmd\n";
Note: See TracChangeset for help on using the changeset viewer.