IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 9, 2007, 10:53:32 AM (19 years ago)
Author:
eugene
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psconfig.sh

    r11267 r11730  
    3131
    3232# list the defined psconfig versions
     33if ("$argv[1]" == "--prefix") then
     34  echo $PSCONFDIR/$PSVERSION.$ARCH
     35  exit 0
     36endif
     37
     38# list the defined psconfig versions
    3339if ("$argv[1]" == "--libs") then
    3440  echo $PSCONFDIR/$PSVERSION.$ARCH/lib
     
    4046  echo $PSCONFDIR/$PSVERSION.$ARCH/bin
    4147  exit 0
     48endif
     49
     50# list the defined psconfig versions
     51set show_path = 0
     52if ("$argv[1]" == "--path") then
     53  set show_path = 1
     54  shift
     55endif
     56
     57# list the defined psconfig versions
     58set show_ldpath = 0
     59if ("$argv[1]" == "--ldpath") then
     60  set show_ldpath = 1
     61  shift
     62endif
     63
     64# list the defined psconfig versions
     65set show_pkgpath = 0
     66if ("$argv[1]" == "--pkgpath") then
     67  set show_pkgpath = 1
     68  shift
     69endif
     70
     71# list the defined psconfig versions
     72set show_perlpath = 0
     73if ("$argv[1]" == "--perlpath") then
     74  set show_perlpath = 1
     75  shift
    4276endif
    4377
     
    245279  alias  psperlbuild perl Build.PL --prefix {$PSCONFDIR}/{$PSCONFIG} --install_path script=$bindir --install_path arch=$bindir --install_path bin=$bindir --install_path lib=$libdir --install_path bindoc={$PSCONFDIR}/man/man1 --install_path libdoc={$PSCONFDIR}/man/man3
    246280endif
     281
     282# list the defined psconfig versions
     283if ($show_path) then
     284  echo $PATH
     285  exit 0
     286endif
     287
     288# list the defined psconfig versions
     289if ($show_ldpath) then
     290  echo $LD_LIBRARY_PATH
     291  exit 0
     292endif
     293
     294# list the defined psconfig versions
     295if ($show_pkgpath) then
     296  echo $PKG_CONFIG_PATH
     297  exit 0
     298endif
     299
     300# list the defined psconfig versions
     301if ($show_perlpath) then
     302  echo $PERL5LIB
     303  exit 0
     304endif
     305
Note: See TracChangeset for help on using the changeset viewer.