1 |
#! /bin/sh |
#! /bin/bash |
2 |
# |
# |
3 |
# Giuseppe Vacanti (cosine) August 2000 |
# $Id: ccflib.cfg,v 1.5 2004/10/07 16:12:48 ccflib Exp $ |
|
# |
|
|
# $Id: ccflib.cfg,v 1.4 2003/11/26 10:50:35 ccflib Exp $ |
|
4 |
# |
# |
5 |
|
# Adapted to work on sasbld01 |
6 |
|
|
7 |
|
# Defining a valid SAS |
8 |
|
|
9 |
saslatest () { |
saslatest () { |
10 |
SAS_DIR=~/sas |
[ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas |
11 |
SAS_PATH=~/sas |
# SAS_DIR=~/sas |
12 |
export SAS_DIR |
# SAS_PATH=~/sas |
13 |
export SAS_PATH |
# export SAS_DIR |
14 |
|
# export SAS_PATH |
15 |
export SAS_CCF=$SAS_DIR/lib/testccf |
export SAS_CCF=$SAS_DIR/lib/testccf |
16 |
. $SAS_DIR/sas-setup.sh |
export LHEASOFT=1 |
17 |
|
. $HOME/setsas.sh 1> /dev/null |
18 |
|
# . $SAS_DIR/sas-setup.sh |
19 |
export SAS_MEMORY_MODEL=Low |
export SAS_MEMORY_MODEL=Low |
20 |
echo $SAS_MEMORY_MODEL |
echo $SAS_MEMORY_MODEL |
21 |
echo "SAS set up complete. SAS_DIR = $SAS_DIR" |
echo "SAS set up complete. SAS_DIR = $SAS_DIR" |
29 |
ccfdeveldir=$ccfstore/devel |
ccfdeveldir=$ccfstore/devel |
30 |
scisimccfdir=$ccfstore/scisim |
scisimccfdir=$ccfstore/scisim |
31 |
|
|
|
|
|
32 |
export PATH |
export PATH |
33 |
PATH=$HOME/bin:/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/openwin/bin:/usr/ucb:/usr/ccs/bin:$PATH |
PATH=$HOME/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 |
|
34 |
|
|
35 |
umask 022 |
umask 022 |