/[CCFs]/bin/ccflib.cfg
ViewVC logotype

Diff of /bin/ccflib.cfg

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by ccflib, Tue Dec 2 14:33:34 2014 UTC revision 1.7 by ccflib, Fri Dec 12 10:25:01 2014 UTC
# Line 1  Line 1 
1  #! /bin/bash  #! /bin/bash
2  #  #
3  # $Id: ccflib.cfg,v 1.5 2004/10/07 16:12:48 ccflib Exp $  # ccflib.cfg is sourced by autobuild, getdeliveries,
4    # buildlatest and acceptbuild. All run in sasbld01
5  #  #
6  # Adapted to work on sasbld01  # $Id: ccflib.cfg,v 1.6 2014/12/02 14:33:34 ccflib Exp $
7    #
8    
9    export CCFLIB_HOME="/home/ccflib"
10    
11  # Defining a valid SAS  # Defines function saslatest to initialise the latest SAS
12    
13  saslatest () {  saslatest () {
14      [ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas      [ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas
 #    SAS_DIR=~/sas  
 #    SAS_PATH=~/sas  
 #    export SAS_DIR  
 #    export SAS_PATH  
15      export SAS_CCF=$SAS_DIR/lib/testccf      export SAS_CCF=$SAS_DIR/lib/testccf
16      export LHEASOFT=1      export LHEASOFT=1
17      . $HOME/setsas.sh 1> /dev/null      . $HOME/setsas.sh 1> /dev/null
 #    . $SAS_DIR/sas-setup.sh  
18      export SAS_MEMORY_MODEL=Low      export SAS_MEMORY_MODEL=Low
19      echo $SAS_MEMORY_MODEL      echo $SAS_MEMORY_MODEL
20      echo "SAS set up complete. SAS_DIR = $SAS_DIR"      echo "SAS set up complete. SAS_DIR = $SAS_DIR"
21  }  }
22    
23  # These are the directories as seen from xvsas01  # These are the directories as seen from
24  ccfstore=$HOME/ccfstore  ccfstore=${CCFLIB_HOME}/ccfstore
25  ccfrepository=$ccfstore/public  ccfrepository=$ccfstore/public
26  ccfdir=$ccfrepository  ccfdir=$ccfrepository
27  ccfrel=$ccfstore/release  ccfrel=$ccfstore/release
28  ccfdeveldir=$ccfstore/devel  ccfdeveldir=$ccfstore/devel
29  scisimccfdir=$ccfstore/scisim  scisimccfdir=$ccfstore/scisim
30    
31  export PATH  # Include the subdirectory bin in PATH
32  PATH=$HOME/bin:$PATH  
33    export PATH=${CCFLIB_HOME}/bin:$PATH
34    
35    # Default creation mask for ccflib (755 or rwxr-xr-x)
36    
37  umask 022  umask 022

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.27