Changeset 23295 for trunk/ippScripts/scripts/dist_component.pl
- Timestamp:
- Mar 12, 2009, 11:38:13 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_component.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_component.pl
r23255 r23295 122 122 if (-e $tmpdir) { 123 123 if (-d $tmpdir) { 124 my $rc = system "rm -r $tmpdir"; 124 my $rc = system "rm -r $tmpdir"; 125 125 &my_die("cannot rm $tmpdir return code: $rc", $dist_id, $component, $PS_EXIT_UNKNOWN_ERROR) if $rc; 126 126 } else { … … 272 272 my $clean_mdc = join "", @data; 273 273 274 my $mdlist = $mdcParser->parse($clean_mdc) or 274 my $mdlist = $mdcParser->parse($clean_mdc) or 275 275 &my_die("failed to parse clean.mdc", $dist_id, $component, $PS_EXIT_UNKNOWN_ERROR); 276 276 … … 293 293 next if $rule eq "STAGE"; 294 294 my $keep_on_clean = $product_list->{$rule}; 295 my $fn = $ipprc->filename($rule, $path_base, $component) or 296 &my_die("Missing entry from camera config: $rule", $dist_id, $component, 295 my $fn = $ipprc->filename($rule, $path_base, $component) or 296 &my_die("Missing entry from camera config: $rule", $dist_id, $component, 297 297 $PS_EXIT_CONFIG_ERROR); 298 298 # printf "%-16.16s\t%s\t%s\n", $rule, $clean, $fn; … … 323 323 my $exit_code = shift; # Exit code to add 324 324 325 $exit_code = $PS_EXIT_PROG_ERROR unless defined $exit_code; 326 325 327 my $command = "$disttool -addprocessedcomponent"; 326 328 $command .= " -dist_id $dist_id";
Note:
See TracChangeset
for help on using the changeset viewer.
