IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2018, 3:27:52 PM (8 years ago)
Author:
eugene
Message:

pass the distribution name to the extperl and extlibs build / check scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psbuild

    r40511 r40513  
    141141    @list = <$tagsets/*.dist>;
    142142    $distribution = $list[-1];
     143    $distname = "";
    143144} else {
    144145    $distribution = "$tagsets/$ARGV[0].dist";
     146    $distname = $ARGV[0];
    145147}
    146148
     
    219221    # use psconfig.csh to set needed build aliases
    220222    if ($extlibs eq "check") {
    221         $status = vsystem ("pschecklibs");
     223        $status = vsystem ("pschecklibs $distname");
    222224        if ($status) { die "failed to find external libraries\n"; }
    223225    }
    224226    if ($extlibs eq "build") {
    225         $status = vsystem ("pschecklibs -build");
     227        $status = vsystem ("pschecklibs -build $distname");
    226228        if ($status) { die "failed to build external libraries\n"; }
    227229    }
    228230
    229231    if ($extperl eq "check") {
    230         $status = vsystem ("pschecklperl");
     232        $status = vsystem ("pschecklperl $distname");
    231233        if ($status) { die "failed to find external perl modules\n"; }
    232234    }
    233235    if ($extperl eq "build") {
    234         $status = vsystem ("pscheckperl -build");
     236        $status = vsystem ("pscheckperl -build $distname");
    235237        if ($status) { die "failed to build external perl modules\n"; }
    236238    }
Note: See TracChangeset for help on using the changeset viewer.