#!/bin/bash # Script to setup the environment for FESA class development if [ -n "$1" ] then export FESA_VERSION=$1 else export FESA_VERSION=2.10 fi if [ -f /etc/fesa/fesa.conf ] then . /etc/fesa/fesa.conf fi if [ -f /etc/fesa/fesa_${FESA_VERSION}.conf ] then . /etc/fesa/fesa_${FESA_VERSION}.conf fi alias cvs='cvs -d $FESA_CVSROOT' # For FESA program production OS=`uname -s` if [ $OS = "Linux" ] ; then ARCH=`uname -i` if [ $ARCH = "ppc" ] ; then OS="Lces" fi; fi export OS export PATH=~/bin:/ps/local/$OS/bin:$PATH:/ps/local/Linux/fesa echo "*****" echo "***** Environment setup for FESA ${FESA_VERSION} complete." echo "*****"