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

Annotation of /bin/ccflib.cfg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations)
Mon Feb 20 14:27:19 2017 UTC (7 years, 9 months ago) by ccflib
Branch: MAIN
Changes since 1.8: +2 -2 lines
Fixed LHEASOFT before setsas.sh

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

  ViewVC Help
Powered by ViewVC 1.1.27