Changeset 24763


Ignore:
Timestamp:
2011-10-16T19:52:29+13:00 (13 years ago)
Author:
ak19
Message:

Passing verbosity to gs-magick.pl when verbosity is set in import options

Location:
main/trunk/greenstone2
Files:
2 edited

Legend:

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

    r24608 r24763  
    825825    if (!($ENV{'GSDLOS'} eq "windows" && !Win32::IsWinNT())) {
    826826    my $imagick_cmd = "\"".&util::get_perl_exec()."\" -S gs-magick.pl";
     827    $imagick_cmd = $imagick_cmd." --verbosity=$verbosity" if defined $verbosity;
    827828    my $result = `$imagick_cmd identify 2>&1`;
    828829
  • main/trunk/greenstone2/perllib/plugins/ImageConverter.pm

    r24600 r24763  
    415415
    416416    # Generate and run the convert command
    417     my $convert_command = "\"".&util::get_perl_exec()."\" -S gs-magick.pl convert -interlace plane -verbose $convert_options \"$source_file_path\" \"$target_file_path\"";
     417    my $convert_command = "\"".&util::get_perl_exec()."\" -S gs-magick.pl --verbosity=".$self->{'verbosity'}." convert -interlace plane -verbose $convert_options \"$source_file_path\" \"$target_file_path\"";
    418418
    419419    my $print_info = { 'message_prefix' => $convert_id,
Note: See TracChangeset for help on using the changeset viewer.