4 |
# |
# |
5 |
# Setup to build CCF from user's home |
# Setup to build CCF from user's home |
6 |
# |
# |
7 |
# $Id$ |
# $Id: ccf-setup.sh,v 1.2 2014/12/10 10:58:21 ccflib Exp $ |
8 |
|
|
9 |
# Define CCFLIB_HOME |
# Define CCFLIB_HOME |
10 |
|
|
11 |
case "$USER" in |
host=`hostname | cut -d. -f1` |
12 |
ccflib) export CCFLIB_HOME=/home/ccflib ;; |
|
13 |
*) export CCFLIB_HOME=/ccfbuild ;; |
case "$host" in |
14 |
|
sasbld01) export CCFLIB_HOME=/home/ccflib ;; |
15 |
|
*) export CCFLIB_HOME=/ccfbuild ;; |
16 |
esac |
esac |
17 |
|
|
18 |
# Adds some useful perl modules. |
# Adds some useful perl modules. |
26 |
# Initializes the latest SAS installed in /sas |
# Initializes the latest SAS installed in /sas |
27 |
|
|
28 |
[ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas |
[ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas |
29 |
|
export LHEASOFT=1 |
30 |
. $HOME/setsas.sh |
. $HOME/setsas.sh |
31 |
export SAS_MEMORY_MODEL=Low |
export SAS_MEMORY_MODEL=Low |
32 |
|
|