Changeset 16308 for trunk/ippScripts/scripts/diff_skycell.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r16247 r16308 33 33 use Pod::Usage qw( pod2usage ); 34 34 35 my ($diff_id, $dbname, $workdir, $ no_update, $no_op);35 my ($diff_id, $dbname, $workdir, $verbose, $no_update, $no_op); 36 36 GetOptions( 37 37 'diff_id|d=s' => \$diff_id, # Diff identifier 38 38 'dbname|d=s' => \$dbname, # Database name 39 39 'workdir|w=s' => \$workdir, # Working directory, for output files 40 'verbose' => \$verbose, # Print to stdout 40 41 'no-update' => \$no_update, # Don't update the database? 41 42 'no-op' => \$no_op, # Don't do any operations? … … 74 75 $command .= " -dbname $dbname" if defined $dbname; 75 76 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 76 run(command => $command, verbose => 1);77 run(command => $command, verbose => $verbose); 77 78 unless ($success) { 78 79 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 190 191 191 192 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 192 run(command => $command, verbose => 1);193 run(command => $command, verbose => $verbose); 193 194 unless ($success) { 194 195 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 222 223 223 224 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 224 run(command => $command, verbose => 1);225 run(command => $command, verbose => $verbose); 225 226 unless ($success) { 226 227 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 235 236 236 237 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 237 run(command => $command, verbose => 1);238 run(command => $command, verbose => $verbose); 238 239 unless ($success) { 239 240 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 255 256 my $command = "$difftool -adddiffskyfile -diff_id $diff_id -code $exit_code"; 256 257 $command .= " -dbname $dbname" if defined $dbname; 257 run(command => $command, verbose => 1);258 run(command => $command, verbose => $verbose); 258 259 } 259 260 exit $exit_code;
Note:
See TracChangeset
for help on using the changeset viewer.
