IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24153


Ignore:
Timestamp:
May 12, 2009, 5:56:09 PM (17 years ago)
Author:
Paul Price
Message:

Fix verbose flag for commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_magic/ippScripts/scripts/ipp_serial_magic.pl

    r24149 r24153  
    5252        $command .= " -magic_id $identifier" if defined $identifier;
    5353        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    54             run( command => $command, verbose => 1 );
     54            run( command => $command, verbose => $verbose );
    5555        die "Unable to get magic tree list: $error_code\n" if not $success;
    5656        @whole = split /\n/, join( '', @$stdout_buf );
     
    8686                $command .= " --no-update" if defined $no_update;
    8787                my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    88                     run( command => $command, verbose => 1 );
     88                    run( command => $command, verbose => $verbose );
    8989                die "Unable to do magic tree on $magic_id: $error_code\n" if not $success;
    9090            }
     
    102102        $command .= " -magic_id $identifier" if defined $identifier;
    103103        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    104             run( command => $command, verbose => 1 );
     104            run( command => $command, verbose => $verbose );
    105105        die "Unable to get magic tree list: $error_code\n" if not $success;
    106106        @whole = split /\n/, join( '', @$stdout_buf );
     
    134134                $command .= " --no-update" if defined $no_update;
    135135                my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    136                     run( command => $command, verbose => 1 );
     136                    run( command => $command, verbose => $verbose );
    137137                die "Unable to do magic process on $magic_id $node: $error_code\n" if not $success;
    138138            }
Note: See TracChangeset for help on using the changeset viewer.