Changeset 16308 for trunk/ippScripts/scripts/detrend_correct_imfile.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_correct_imfile.pl
r15314 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, $dbname, $workdir, $reduction, $no_update, $no_op); 34 my ( $det_id, $exp_id, $class_id, $det_type, $exp_tag, $input_uri, $camera, $dbname, $workdir, $reduction, 35 $verbose, $no_update, $no_op ); 35 36 GetOptions( 36 37 'det_id|d=s' => \$det_id, … … 45 46 'dbname|d=s' => \$dbname, # Database name 46 47 'workdir|w=s' => \$workdir, # Working directory, for output files 48 'verbose' => \$verbose, # Print to stdout 47 49 'no-update' => \$no_update, 48 50 'no-op' => \$no_op, … … 91 93 92 94 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 93 run(command => $command, verbose => 1);95 run(command => $command, verbose => $verbose); 94 96 unless ($success) { 95 97 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 111 113 unless ($no_update) { 112 114 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 113 run(command => $command, verbose => 1);115 run(command => $command, verbose => $verbose); 114 116 unless ($success) { 115 117 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
