Changeset 16308 for trunk/ippScripts/scripts/detrend_process_exp.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_process_exp.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_exp.pl
r16196 r16308 35 35 use Pod::Usage qw( pod2usage ); 36 36 37 my ($det_id, $exp_id, $det_type, $exp_tag, $camera, $outroot, $dbname, $reduction, $no_update, $no_op); 37 my ( $det_id, $exp_id, $det_type, $exp_tag, $camera, $outroot, $dbname, $reduction, $verbose, $no_update, 38 $no_op ); 38 39 GetOptions( 39 40 'det_id|d=s' => \$det_id, … … 45 46 'dbname|d=s' => \$dbname, # Database name 46 47 'reduction|=s' => \$reduction, 48 'verbose' => \$verbose, # Print to stdout 47 49 'no-update' => \$no_update, 48 50 'no-op' => \$no_op, … … 99 101 $command .= " -dbname $dbname" if defined $dbname; 100 102 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 101 run(command => $command, verbose => 1);103 run(command => $command, verbose => $verbose); 102 104 unless ($success) { 103 105 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 145 147 $command = "$ppImage -list $list1Name $outroot -recipe PPIMAGE $recipe1"; # Command to run 146 148 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 147 run(command => $command, verbose => 1);149 run(command => $command, verbose => $verbose); 148 150 unless ($success) { 149 151 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 155 157 $command = "$ppImage -list $list2Name $outroot -recipe PPIMAGE $recipe2"; # Command to run 156 158 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 157 run(command => $command, verbose => 1);159 run(command => $command, verbose => $verbose); 158 160 unless ($success) { 159 161 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 174 176 unless ($no_update) { 175 177 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 176 run(command => $command, verbose => 1);178 run(command => $command, verbose => $verbose); 177 179 unless ($success) { 178 180 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
