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

Diff of /bin/ccflib.cfg

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

revision 1.4 by ccflib, Wed Nov 26 10:50:35 2003 UTC revision 1.8 by ccflib, Mon Feb 20 14:11:18 2017 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/bash
2  #  #
3  # Giuseppe Vacanti (cosine) August 2000  # ccflib.cfg is sourced by autobuild, getdeliveries,
4    # buildlatest and acceptbuild. All run in sasbld01
5  #  #
6  # $Id$  # $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 () {  saslatest () {
14      SAS_DIR=~/sas      #[ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas
15      SAS_PATH=~/sas      #/sas/bin/confsas
16      export SAS_DIR      #. $HOME/setsas.sh 1> /dev/null
17      export SAS_PATH      . ${CCFLIB_HOME}/local/SAS/xmmsas_20160201_1833/setsas.sh 1> /dev/null
18      export SAS_CCF=$SAS_DIR/lib/testccf      export SAS_CCF=$SAS_DIR/lib/testccf
19      . $SAS_DIR/sas-setup.sh      export LHEASOFT=1
20        export SAS_MEMORY_MODEL=Low
21        echo $SAS_MEMORY_MODEL
22      echo "SAS set up complete. SAS_DIR = $SAS_DIR"      echo "SAS set up complete. SAS_DIR = $SAS_DIR"
23  }  }
24    
25  # These are the directories as seen from xvsas01  # These are the directories as seen from
26  ccfstore=$HOME/ccfstore  ccfstore=${CCFLIB_HOME}/ccfstore
27  ccfrepository=$ccfstore/public  ccfrepository=$ccfstore/public
28  ccfdir=$ccfrepository  ccfdir=$ccfrepository
29  ccfrel=$ccfstore/release  ccfrel=$ccfstore/release
30  ccfdeveldir=$ccfstore/devel  ccfdeveldir=$ccfstore/devel
31  scisimccfdir=$ccfstore/scisim  scisimccfdir=$ccfstore/scisim
32    
33    # Include the subdirectory bin in PATH
34    
35    export PATH=${CCFLIB_HOME}/bin:$PATH
36    
37  export PATH  # Default creation mask for ccflib (755 or rwxr-xr-x)
 PATH=$HOME/bin:/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/openwin/bin:/usr/ucb:/usr/ccs/bin:$PATH  
   
 #export LD_LIBRARY_PATH  
 LD_LIBRARY_PATH=/usr/local/cfitsio:/usr/local/egcs/lib:/usr/local/gcc/lib:/opt/SUNWspro/lib:/usr/lib:$LD_LIBRARY_PATH  
38    
39  umask 022  umask 022

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.27