1 |
#! /bin/bash |
2 |
# |
3 |
# ccflib.cfg is sourced by autobuild, getdeliveries, |
4 |
# buildlatest and acceptbuild. All run in sasbld01 |
5 |
# |
6 |
# $Id: ccflib.cfg,v 1.7 2014/12/12 10:25:01 ccflib Exp $ |
7 |
# |
8 |
|
9 |
export CCFLIB_HOME="/home/ccflib" |
10 |
|
11 |
# Defines function saslatest to initialise the latest SAS |
12 |
|
13 |
saslatest () { |
14 |
#[ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas |
15 |
#/sas/bin/confsas |
16 |
#. $HOME/setsas.sh 1> /dev/null |
17 |
. ${CCFLIB_HOME}/local/SAS/xmmsas_20160201_1833/setsas.sh 1> /dev/null |
18 |
export SAS_CCF=$SAS_DIR/lib/testccf |
19 |
export LHEASOFT=1 |
20 |
export SAS_MEMORY_MODEL=Low |
21 |
echo $SAS_MEMORY_MODEL |
22 |
echo "SAS set up complete. SAS_DIR = $SAS_DIR" |
23 |
} |
24 |
|
25 |
# These are the directories as seen from |
26 |
ccfstore=${CCFLIB_HOME}/ccfstore |
27 |
ccfrepository=$ccfstore/public |
28 |
ccfdir=$ccfrepository |
29 |
ccfrel=$ccfstore/release |
30 |
ccfdeveldir=$ccfstore/devel |
31 |
scisimccfdir=$ccfstore/scisim |
32 |
|
33 |
# 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 |
|
39 |
umask 022 |