Changeset 23323 for trunk/ippScripts/scripts/ipp_cleanup.pl
- Timestamp:
- Mar 15, 2009, 10:51:23 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_cleanup.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_cleanup.pl
r23277 r23323 86 86 &my_die("Unable to perform chiptool: $error_code", "chip", $stage_id, $error_code); 87 87 } 88 89 # if there are no chipProcessedImfiles (@$stdout_buf == 0), the reset the state to 'new' 90 if (@$stdout_buf == 0) { 91 my $command = "$chiptool -chip_id $stage_id -updaterun -set_state new"; 92 $command .= " -dbname $dbname" if defined $dbname; 93 94 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 95 run(command => $command, verbose => $verbose); 96 unless ($success) { 97 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 98 &my_die("Unable to perform chiptool: $error_code", "chip", $stage_id, $error_code); 99 } 100 exit 0; 101 } 102 88 103 my $metadata = $mdcParser->parse(join "", @$stdout_buf) or 89 104 &my_die("Unable to parse metadata config doc", "chip", $stage_id, $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
