IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 23, 2009, 4:33:49 PM (17 years ago)
Author:
eugene
Message:

generate psconfig.csh if needed in pschecklibs and pscheckperl; add Attribute:Handlers to perl dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pscheckperl

    r26256 r26273  
    5353}
    5454
     55# generate new psconfig.csh if needed
     56if (! -e "psconfig.csh" || ! -e "psconfig.bash") {
     57    $psconfdir = $ENV{'PSCONFDIR'};
     58    if ($psconfdir eq "") { die "PSCONFDIR not found, run psbuild -bootstrap and follow instructions\n"; }
     59    vsystem ("cat psconfig.csh.in | sed 's|\@PSCONFDIR@|$psconfdir|' > psconfig.csh");
     60    vsystem ("cat psconfig.bash.in | sed 's|\@PSCONFDIR@|$psconfdir|' > psconfig.bash");
     61}
    5562
    5663$prefix  = `csh -f psconfig.csh --prefix $version`; chomp $prefix;
Note: See TracChangeset for help on using the changeset viewer.