IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23703


Ignore:
Timestamp:
Apr 3, 2009, 11:02:34 AM (17 years ago)
Author:
bills
Message:

fix argument name for id for raw stage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/dist_advancerun.pl

    r23688 r23703  
    7070my $mdcParser = PS::IPP::Metadata::Config->new;
    7171
    72 my $tool;
     72my $tool_cmd;
    7373if ($stage eq "raw") {
    74     $tool = "regtool";
     74    $tool_cmd = "$regtool -exp_id";
    7575} elsif ($stage eq "chip") {
    76     $tool = "chiptool";
     76    $tool_cmd = "$chiptool -chip_id";
    7777} elsif ($stage eq "camera") {
    78     $tool = "camtool";
     78    $tool_cmd = "$camtool -cam_id";
    7979} elsif ($stage eq "fake") {
    80     $tool = "faketool";
     80    $tool_cmd = "$faketool -fake_id";
    8181} elsif ($stage eq "warp") {
    82     $tool = "warptool";
     82    $tool_cmd = "$warptool -warp_id";
    8383} elsif ($stage eq "stack") {
    84     $tool = "stacktool";
     84    $tool_cmd = "$stacktool -stack_id";
    8585} elsif ($stage eq "diff") {
    86     $tool = "difftool";
     86    $tool_cmd = "$difftool -diff_id";
    8787} else {
    8888    &my_die("Unexpected stage: $stage", $dist_id, $PS_EXIT_CONFIG_ERROR);
    8989}
    9090
    91 # XXX Should we create a file rule for this
     91# XXX we should create a file rule for this
    9292my $outfile = "$outroot/dbinfo.$stage.$stage_id.mdc";
    9393
    9494{
    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";
    9796    $command .= " -dbname $dbname" if defined $dbname;
    9897
Note: See TracChangeset for help on using the changeset viewer.