4 |
# |
# |
5 |
# Setup to build CCF from user's home |
# Setup to build CCF from user's home |
6 |
# |
# |
7 |
# $Id: ccf-setup.csh,v 1.2 2014/12/10 10:01:55 ccflib Exp $ |
# $Id: ccf-setup.csh,v 1.5 2014/12/11 16:43:59 ccflib Exp $ |
8 |
|
|
9 |
# Define CCFLIB_HOME |
# Define CCFLIB_HOME |
10 |
|
|
11 |
switch ($USER) |
set host=`hostname | cut -d. -f1` |
12 |
case [ccflib]: |
|
13 |
|
switch ($host) |
14 |
|
case sasbld01: |
15 |
setenv CCFLIB_HOME "/home/ccflib" |
setenv CCFLIB_HOME "/home/ccflib" |
16 |
breaksw |
breaksw |
17 |
default : |
default : |
22 |
# Add some useful perl modules |
# Add some useful perl modules |
23 |
|
|
24 |
if ( $?PERL5LIB ) then |
if ( $?PERL5LIB ) then |
25 |
setenv PERL5LIB /home/ccflib/perl\:$PERL5LIB |
setenv PERL5LIB ${CCFLIB_HOME}/perl\:$PERL5LIB |
26 |
else |
else |
27 |
setenv PERL5LIB /home/ccflib/perl |
setenv PERL5LIB ${CCFLIB_HOME}/perl |
28 |
endif |
endif |
29 |
|
|
30 |
# Initialises the latest SAS installed in /sas |
# Initialises the latest SAS installed in /sas |