IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35975


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

add missing arguments to a my_die call. support for stage skycal

File:
1 edited

Legend:

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

    r30489 r35975  
    223223    my $dbname = shift;
    224224
    225     if (($stage eq 'stack') or ($stage eq 'diff') or ($stage eq 'SSdiff') or $stage eq 'sky') {
     225    if (($stage eq 'stack') or ($stage eq 'diff') or ($stage eq 'SSdiff') or $stage eq 'sky' or $stage eq 'skycal') {
    226226        return "";
    227227    }
     
    252252    } elsif ($stage eq 'warp_bg') {
    253253        $query = "SELECT exp_name FROM warpBackgroundRun JOIN warpRun USING(warp_id) JOIN fakeRun USING(fake_id) JOIN camRun USING(cam_id) JOIN chipRun USING(chip_id) JOIN rawExp USING(exp_id) WHERE warp_bg_id = $stage_id";
     254
    254255    } else {
    255         &my_die("$stage is invalid value for stage\n");
     256        &my_die("$stage is invalid value for stage", $dist_id, $dest_id, $PS_EXIT_UNKNOWN_ERROR);
    256257    }
    257258
Note: See TracChangeset for help on using the changeset viewer.