- Timestamp:
- Jun 22, 2008, 9:04:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080618/ippScripts/scripts/ipp_cleanup.pl
r18191 r18273 63 63 # dettool -pendingcleanupimfile -chip_id $stage_id 64 64 65 # Get list of component files 65 # Get list of component imfiles 66 # XXX may need a different my_die for each stage 66 67 my $imfiles; # Array of component files 67 68 my $command = "$dettool -pendingcleanupimfile -chip_id $stage_id"; # Command to run … … 70 71 unless ($success) { 71 72 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 72 &my_die("Unable to perform camtool: $error_code", $cam_id, $error_code);73 &my_die("Unable to perform camtool: $error_code", "chip", $stage_id, $error_code); 73 74 } 74 75 my $metadata = $mdcParser->parse(join "", @$stdout_buf) or 75 &my_die("Unable to parse metadata config doc", $cam_id, $PS_EXIT_PROG_ERROR);76 &my_die("Unable to parse metadata config doc", "chip", $stage_id, $PS_EXIT_PROG_ERROR); 76 77 77 78 # extract the metadata for the files into a hash list 78 79 $imfiles = parse_md_list($metadata) or 79 &my_die("Unable to parse metadata list", $cam_id, $PS_EXIT_PROG_ERROR);80 &my_die("Unable to parse metadata list", "chip", $cam_id, $PS_EXIT_PROG_ERROR); 80 81 81 82 # loop over all of the imfiles, determine the path_base and class_id for each
Note:
See TracChangeset
for help on using the changeset viewer.
