Changeset 20928
- Timestamp:
- Dec 7, 2008, 2:32:05 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r20456 r20928 27 27 use Pod::Usage qw( pod2usage ); 28 28 29 my ($diff_id, $d bname, $threads, $outroot, $reduction, $verbose, $no_update, $no_op, $redirect);29 my ($diff_id, $diff_skyfile_id, $dbname, $threads, $outroot, $reduction, $verbose, $no_update, $no_op, $redirect); 30 30 GetOptions( 31 'diff_id|d=s' => \$diff_id, # Diff identifier 32 'dbname|d=s' => \$dbname, # Database name 33 'threads=s' => \$threads, # Number of threads to use 34 'outroot=s' => \$outroot, # Output root name 35 'reduction=s' => \$reduction, # Reduction class 36 'verbose' => \$verbose, # Print to stdout 37 'no-update' => \$no_update, # Don't update the database? 38 'no-op' => \$no_op, # Don't do any operations? 39 'redirect-output' => \$redirect, 31 'diff_id|d=s' => \$diff_id, # Diff identifier 32 'diff_skyfile_id|d=s' => \$diff_skyfile_id, # Unique skyfile identifier 33 'dbname|d=s' => \$dbname, # Database name 34 'threads=s' => \$threads, # Number of threads to use 35 'outroot=s' => \$outroot, # Output root name 36 'reduction=s' => \$reduction, # Reduction class 37 'verbose' => \$verbose, # Print to stdout 38 'no-update' => \$no_update, # Don't update the database? 39 'no-op' => \$no_op, # Don't do any operations? 40 'redirect-output' => \$redirect, 40 41 ) or pod2usage( 2 ); 41 42 … … 52 53 my $logDest = "$outroot.log"; 53 54 $ipprc->redirect_output($logDest) if $redirect; 55 56 my $image_id = $diff_skyfile_id; 57 my $source_id = $ipprc->source_id($dbname, $PS_TABLE_ID_DIFF); 54 58 55 59 # Look for programs we need … … 210 214 $command .= " -dumpconfig $configuration"; 211 215 $command .= " -dbname $dbname" if defined $dbname; 216 # $command .= " -image_id $image_id" if defined $image_id; 217 # $command .= " -source_id $source_id" if defined $source_id; 212 218 213 219 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note:
See TracChangeset
for help on using the changeset viewer.
