Changeset 21309 for trunk/ippScripts/scripts/diff_skycell.pl
- Timestamp:
- Feb 5, 2009, 9:36:52 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r20973 r21309 28 28 29 29 my ($diff_id, $dbname, $threads, $outroot, $reduction, $verbose, $no_update, $no_op, $redirect); 30 my $skycell_id; # Skycell identifier30 my ($skycell_id, $diff_skyfile_id); 31 31 GetOptions( 32 32 'diff_id=s' => \$diff_id, # Diff identifier 33 33 'skycell_id=s' => \$skycell_id, # Diff identifier 34 'diff_skyfile_id=s' => \$diff_skyfile_id, # Diff identifier 34 35 'dbname|d=s' => \$dbname, # Database name 35 36 'threads=s' => \$threads, # Number of threads to use … … 48 49 ) unless defined $diff_id 49 50 and defined $skycell_id 51 and defined $diff_skyfile_id 50 52 and defined $outroot; 51 53 … … 55 57 my $logDest = "$outroot.log"; 56 58 $ipprc->redirect_output($logDest) if $redirect; 59 60 my $source_id = $ipprc->source_id($dbname, $PS_TABLE_ID_DIFF); 57 61 58 62 # Look for programs we need … … 212 216 $command .= " -dumpconfig $configuration"; 213 217 $command .= " -dbname $dbname" if defined $dbname; 218 $command .= " -image_id $diff_skyfile_id" if defined $diff_skyfile_id; 219 $command .= " -source_id $source_id" if defined $source_id; 214 220 215 221 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note:
See TracChangeset
for help on using the changeset viewer.
