/[CCFs]/ccf-setup.csh
ViewVC logotype

Annotation of /ccf-setup.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Wed Dec 10 10:01:55 2014 UTC (9 years, 11 months ago) by ccflib
Branch: MAIN
Changes since 1.1: +4 -4 lines
File MIME type: application/x-csh
Replaced /home/ccflib by CCFLIB_HOME variable

1 ccflib 1.1 #! /bin/csh
2     #
3     # ccf-setup.csh
4     #
5     # Setup to build CCF from user's home
6     #
7 ccflib 1.2 # $Id: ccf-setup.csh,v 1.1 2014/12/10 09:54:55 ccflib Exp $
8 ccflib 1.1
9     # Define CCFLIB_HOME
10    
11     switch ($USER)
12     case [ccflib]:
13     setenv CCFLIB_HOME "/home/ccflib"
14     breaksw
15     default :
16     setenv CCFLIB_HOME "/ccfbuild"
17     breaksw
18     endsw
19    
20     # Add some useful perl modules
21    
22     if ( $?PERL5LIB ) then
23     setenv PERL5LIB /home/ccflib/perl\:$PERL5LIB
24     else
25     setenv PERL5LIB /home/ccflib/perl
26     endif
27    
28     # Initialises the latest SAS installed in /sas
29    
30     if ( ! -f "$HOME/setsas.csh" ) then
31     /sas/bin/confsas
32     endif
33    
34     source $HOME/setsas.csh
35    
36     setenv SAS_MEMORY_MODEL Low
37    
38     # Shows SAS version and the versions of deceit and ccfextseq
39     sasversion
40     deceit -v
41     ccfextseq -v
42    
43     # Initialises the CVS environment
44     # Users access through the group permissions instead of using CVS_RSH
45    
46 ccflib 1.2 setenv CVSROOT ${CCFLIB_HOME}/ccfcvs
47 ccflib 1.1
48     # Defines CCFDEV and sources some additional setup
49    
50 ccflib 1.2 setenv CCFDEV ${CCFLIB_HOME}/ccfdev
51 ccflib 1.1 source $CCFDEV/setup.csh
52    
53     # Add the scripts in $CCFLIB_HOME/bin to PATH
54    
55 ccflib 1.2 setenv PATH ${CCFLIB_HOME}/bin\:$PATH

  ViewVC Help
Powered by ViewVC 1.1.27