Changeset 30113
- Timestamp:
- Dec 18, 2010, 8:47:39 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/register_imfile.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/register_imfile.pl
r30049 r30113 287 287 if ($burntool_data->{burnable} == 0) { 288 288 $regtool_update .= " -burntool_state 0 -set_state pending_burntool "; 289 unless ($no_update) { 290 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 291 IPC::Cmd::run(command => $regtool_update, verbose => $verbose); 292 unless ($success) { 293 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 294 warn ("Unable to perform regtool -addprocessedimfile: $error_code"); 295 exit($error_code); 296 } 297 } else { 298 print "skipping command: $command\n"; 299 } 289 300 } 290 301 else { … … 296 307 $apply_command .= " --verbose " if $verbose; 297 308 print "$apply_command\n"; 298 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 299 IPC::Cmd::run(command => $apply_command, verbose => $verbose); 300 unless ($success) { 301 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 302 warn ("Unable to perform ipp_apply_burntool_single.pl: $error_code"); 303 exit($error_code); 309 unless ($no_update) { 310 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 311 IPC::Cmd::run(command => $apply_command, verbose => $verbose); 312 unless ($success) { 313 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 314 warn ("Unable to perform ipp_apply_burntool_single.pl: $error_code"); 315 exit($error_code); 316 } 304 317 } 305 318 } 306 319 307 unless ($no_update) {308 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =309 IPC::Cmd::run(command => $regtool_update, verbose => $verbose);310 unless ($success) {311 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);312 warn ("Unable to perform regtool -addprocessedimfile: $error_code");313 exit($error_code);314 }315 } else {316 print "skipping command: $command\n";317 }318 320 319 321 }
Note:
See TracChangeset
for help on using the changeset viewer.
