Changeset 16308 for trunk/ippScripts/scripts/detrend_process_imfile.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_imfile.pl
r16209 r16308 32 32 use Pod::Usage qw( pod2usage ); 33 33 34 my ($det_id, $exp_id, $class_id, $det_type, $exp_tag, $input_uri, $camera, $outroot, $dbname, $reduction, $no_update, $no_op); 34 my ( $det_id, $exp_id, $class_id, $det_type, $exp_tag, $input_uri, $camera, $outroot, $dbname, $reduction, 35 $verbose, $no_update, $no_op ); 35 36 GetOptions( 36 37 'det_id|d=s' => \$det_id, … … 44 45 'dbname|d=s' => \$dbname, # Database name 45 46 'reduction=s' => \$reduction, # Reduction class 47 'verbose' => \$verbose, # Print to stdout 46 48 'no-update' => \$no_update, 47 49 'no-op' => \$no_op, … … 113 115 114 116 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 115 run(command => $command, verbose => 1);117 run(command => $command, verbose => $verbose); 116 118 unless ($success) { 117 119 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 152 154 unless ($no_update) { 153 155 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 154 run(command => $command, verbose => 1);156 run(command => $command, verbose => $verbose); 155 157 unless ($success) { 156 158 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
