Changeset 23703
- Timestamp:
- Apr 3, 2009, 11:02:34 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_advancerun.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_advancerun.pl
r23688 r23703 70 70 my $mdcParser = PS::IPP::Metadata::Config->new; 71 71 72 my $tool ;72 my $tool_cmd; 73 73 if ($stage eq "raw") { 74 $tool = "regtool";74 $tool_cmd = "$regtool -exp_id"; 75 75 } elsif ($stage eq "chip") { 76 $tool = "chiptool";76 $tool_cmd = "$chiptool -chip_id"; 77 77 } elsif ($stage eq "camera") { 78 $tool = "camtool";78 $tool_cmd = "$camtool -cam_id"; 79 79 } elsif ($stage eq "fake") { 80 $tool = "faketool";80 $tool_cmd = "$faketool -fake_id"; 81 81 } elsif ($stage eq "warp") { 82 $tool = "warptool";82 $tool_cmd = "$warptool -warp_id"; 83 83 } elsif ($stage eq "stack") { 84 $tool = "stacktool";84 $tool_cmd = "$stacktool -stack_id"; 85 85 } elsif ($stage eq "diff") { 86 $tool = "difftool";86 $tool_cmd = "$difftool -diff_id"; 87 87 } else { 88 88 &my_die("Unexpected stage: $stage", $dist_id, $PS_EXIT_CONFIG_ERROR); 89 89 } 90 90 91 # XXX Should wecreate a file rule for this91 # XXX we should create a file rule for this 92 92 my $outfile = "$outroot/dbinfo.$stage.$stage_id.mdc"; 93 93 94 94 { 95 my $id_arg = "-$stage" . "_id"; 96 my $command = "$tool -exportrun $id_arg $stage_id -outfile $outfile"; 95 my $command = "$tool_cmd $stage_id -exportrun -outfile $outfile"; 97 96 $command .= " -dbname $dbname" if defined $dbname; 98 97
Note:
See TracChangeset
for help on using the changeset viewer.
