Changeset 31567 for trunk/ippScripts/scripts/receive_file.pl
- Timestamp:
- May 24, 2011, 4:02:29 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/receive_file.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/receive_file.pl
r30674 r31567 224 224 $stage = 'sky'; 225 225 # XXX: This should be skycell, but the distribution code uses exposure 226 $comp_name = ' exposure';227 $current_component = $comp_name;226 $comp_name = 'skycell_id'; 227 # $current_component = $comp_name; 228 228 } else { 229 229 &my_die( "unexpected run type line found in $filename: $runType\n", $file_id, $PS_EXIT_UNKNOWN_ERROR); … … 237 237 $new_workdir_value = "$workdir/$destdir"; 238 238 } 239 240 if ($stage eq 'sky') { 241 # the dbinfo file for a skyRun only has one component and it doesn't contain 242 # skycell_id which is the way components are listed in the dirinfo file. 243 my @ids = keys %$components; 244 &my_die( "unexpected number of components scalar @ids found in staticsky dirinfo file\n", $file_id, $PS_EXIT_UNKNOWN_ERROR) if scalar @ids != 1; 245 $current_component = $ids[0]; 246 } 247 239 248 my $component_dir; 240 249 if ($current_component) {
Note:
See TracChangeset
for help on using the changeset viewer.
