Changeset 35976
- Timestamp:
- Aug 19, 2013, 2:30:26 PM (13 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 2 edited
-
receive_advance.pl (modified) (3 diffs)
-
receive_file.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/receive_advance.pl
r29574 r35976 65 65 my ($stage) = $filename =~ m|^dbinfo\.(\S+)\.\d+\.mdc$|; # Stage of interest 66 66 my $tool_name; 67 my $tool_mode = '-importrun'; 67 68 if ($stage eq "raw") { 68 69 $tool_name = "regtool"; … … 73 74 } elsif ($stage eq "sky") { 74 75 $tool_name = "staticskytool"; 76 } elsif ($stage eq "skycal") { 77 $tool_name = "staticskytool"; 78 $tool_mode = '-importskycal'; 75 79 } else { 76 80 $tool_name = "${stage}tool"; … … 81 85 &my_die("Unable to resolve $dbinfo_uri\n", $PS_EXIT_UNKNOWN_ERROR) unless $file; 82 86 83 my $command = "$tool -importrun-infile $file"; # Command to execute87 my $command = "$tool $tool_mode -infile $file"; # Command to execute 84 88 $command .= " -dbname $dbname" if defined $dbname; 85 89 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = -
trunk/ippScripts/scripts/receive_file.pl
r31567 r35976 223 223 } elsif ($runType eq 'staticskyRun') { 224 224 $stage = 'sky'; 225 # XXX: This should be skycell, but the distribution code uses exposure226 225 $comp_name = 'skycell_id'; 227 # $current_component = $comp_name; 226 } elsif ($runType eq 'skycalRun') { 227 $stage = 'skycal'; 228 $comp_name = 'skycell_id'; 228 229 } else { 229 230 &my_die( "unexpected run type line found in $filename: $runType\n", $file_id, $PS_EXIT_UNKNOWN_ERROR); … … 238 239 } 239 240 240 if ($stage eq 'sky' ) {241 # the dbinfo file for a skyRun only has one component and it doesn't contain241 if ($stage eq 'sky' or $stage = 'skycal') { 242 # the dbinfo file for staticskyRun and skycalRun only have one component and they don't contain 242 243 # skycell_id which is the way components are listed in the dirinfo file. 243 244 my @ids = keys %$components;
Note:
See TracChangeset
for help on using the changeset viewer.
