IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 11, 2007, 5:22:13 PM (20 years ago)
Author:
eugene
Message:

adding -start, --prefix for perl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psbuild

    r10869 r11058  
    1 #!/bin/tcsh
     1#!/bin/csh
    22
    33set args=""
     
    77set optimize=0
    88set version=""
     9set start=""
    910while ($#argv)
    1011 switch ($1)
     
    2627   set optimize=1;
    2728   breaksw;
     29  case -start:
     30   shift
     31   set start=$1;
     32   breaksw;
    2833  default:
    2934   set args=($args $1);
     
    4449endif
    4550
     51# set the version based on psconfig or -version (if set)
    4652if ("$version" != "") then
    4753  source psconfig.sh $version
    48 endif
    49 
    50 if (! $?PSVERSION) then
    51   source psconfig.sh default
     54else
     55  if (! $?PSVERSION) then
     56    source psconfig.sh default
     57  else
     58    source psconfig.sh $PSVERSION
     59  endif
    5260endif
    5361
     
    5967 set dir = $name[1]
    6068 set tag = $name[2]
     69
     70 if ("$start" != "") then
     71   if ("$start" != "$dir") then
     72     echo "skipping $dir"
     73     continue
     74   endif
     75   set start = ""
     76 endif
    6177
    6278 set current = `pwd`
Note: See TracChangeset for help on using the changeset viewer.