IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 19, 2013, 2:30:26 PM (13 years ago)
Author:
bills
Message:

support for skycal stage in distribution client

File:
1 edited

Legend:

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

    r29574 r35976  
    6565    my ($stage) = $filename =~ m|^dbinfo\.(\S+)\.\d+\.mdc$|; # Stage of interest
    6666    my $tool_name;
     67    my $tool_mode = '-importrun';
    6768    if ($stage eq "raw") {
    6869        $tool_name = "regtool";
     
    7374    } elsif ($stage eq "sky") {
    7475        $tool_name = "staticskytool";
     76    } elsif ($stage eq "skycal") {
     77        $tool_name = "staticskytool";
     78        $tool_mode = '-importskycal';
    7579    } else {
    7680        $tool_name = "${stage}tool";
     
    8185    &my_die("Unable to resolve $dbinfo_uri\n", $PS_EXIT_UNKNOWN_ERROR) unless $file;
    8286
    83     my $command = "$tool -importrun -infile $file"; # Command to execute
     87    my $command = "$tool $tool_mode -infile $file"; # Command to execute
    8488    $command .= " -dbname $dbname" if defined $dbname;
    8589    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.