IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2007, 10:56:29 AM (19 years ago)
Author:
eugene
Message:

INSTALL to PSCONFIG_DIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psconfig.bash

    r12839 r12856  
    11# this script sets the PS IPP build environment for BASH shell users
    22
    3 if [ -z $INSTALL ]; then
    4   INSTALL=/home/kiawe/eugene/src.alala/panstarrs/ipp/psconfig
     3if [ -z $PSCONFIG_DIR ]; then
     4  PSCONFIG_DIR=/home/kiawe/eugene/src.alala/panstarrs/ipp/psconfig
    55fi
    66
    77if (( $# == 0 )); then
    8   /bin/csh $INSTALL/psconfig.csh
     8  /bin/csh $PSCONFIG_DIR/psconfig.csh
    99  return 0
    1010fi
     
    1616
    1717version=$1
    18 psconfigure=`/bin/csh $INSTALL/psconfig.csh --psconfigure $version`
    19 psautogen=`/bin/csh $INSTALL/psconfig.csh --psautogen $version`
    20 psperlbuild=`/bin/csh $INSTALL/psconfig.csh --psperlbuild $version`
     18psconfigure=`/bin/csh $PSCONFIG_DIR/psconfig.csh --psconfigure $version`
     19psautogen=`/bin/csh $PSCONFIG_DIR/psconfig.csh --psautogen $version`
     20psperlbuild=`/bin/csh $PSCONFIG_DIR/psconfig.csh --psperlbuild $version`
    2121alias psconfigure=$psconfigure
    2222alias psautogen=$psautogen
     
    2424
    2525# psconfig env variables
    26 export PSCONFDIR=`/bin/csh $INSTALL/psconfig.csh --psconfdir $version`
    27 export PSVERSION=`/bin/csh $INSTALL/psconfig.csh --psversion $version`
     26export PSCONFDIR=`/bin/csh $PSCONFIG_DIR/psconfig.csh --psconfdir $version`
     27export PSVERSION=`/bin/csh $PSCONFIG_DIR/psconfig.csh --psversion $version`
    2828
    2929# environment variables
    30 export PATH=`/bin/csh $INSTALL/psconfig.csh --path $version`
    31 export ARCH=`/bin/csh $INSTALL/psconfig.csh --arch $version`
    32 export LD_LIBRARY_PATH=`/bin/csh $INSTALL/psconfig.csh --ld_library_path $version`
    33 export PKG_CONFIG_PATH=`/bin/csh $INSTALL/psconfig.csh --pkg_config_path $version`
    34 export ACLOCAL_FLAGS=`/bin/csh $INSTALL/psconfig.csh --aclocal_flags $version`
    35 export PERL5LIB=`/bin/csh $INSTALL/psconfig.csh --perl5lib $version`
     30export PATH=`/bin/csh $PSCONFIG_DIR/psconfig.csh --path $version`
     31export ARCH=`/bin/csh $PSCONFIG_DIR/psconfig.csh --arch $version`
     32export LD_LIBRARY_PATH=`/bin/csh $PSCONFIG_DIR/psconfig.csh --ld_library_path $version`
     33export PKG_CONFIG_PATH=`/bin/csh $PSCONFIG_DIR/psconfig.csh --pkg_config_path $version`
     34export ACLOCAL_FLAGS=`/bin/csh $PSCONFIG_DIR/psconfig.csh --aclocal_flags $version`
     35export PERL5LIB=`/bin/csh $PSCONFIG_DIR/psconfig.csh --perl5lib $version`
Note: See TracChangeset for help on using the changeset viewer.