IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 23, 2009, 4:33:49 PM (16 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/pschecklibs

    r26271 r26273  
    7575if ("$version" eq "") {
    7676    $version = "default";
     77}
     78
     79# generate new psconfig.csh if needed
     80if (! -e "psconfig.csh" || ! -e "psconfig.bash") {
     81    $psconfdir = $ENV{'PSCONFDIR'};
     82    if ($psconfdir eq "") { die "PSCONFDIR not found, run psbuild -bootstrap and follow instructions\n"; }
     83    vsystem ("cat psconfig.csh.in | sed 's|\@PSCONFDIR@|$psconfdir|' > psconfig.csh");
     84    vsystem ("cat psconfig.bash.in | sed 's|\@PSCONFDIR@|$psconfdir|' > psconfig.bash");
    7785}
    7886
Note: See TracChangeset for help on using the changeset viewer.