7a53e886 |
1 | #!/bin/sh |
2 | |
3 | if [ -e "${aSamplePath}/custom.sh" ]; then source "${aSamplePath}/custom.sh"; fi |
90ac6145 |
4 | |
5 | if test "${CASROOT}" == ""; then |
6 | echo "Environment variable \"CASROOT\" not defined. Define it in \"custom.sh\" script." |
7 | exit 1 |
8 | fi |
9 | |
10 | if test "${QTDIR}" == ""; then |
11 | echo "Environment variable \"QTDIR\" not defined. Define it in \"custom.sh\" script." |
12 | exit 1 |
13 | fi |
14 | |
15 | if test `uname -s` == "Darwin" && test "${WOKHOME}" == ""; then |
16 | echo "Environment variable \"WOKHOME\" not defined. Define it in \"custom.sh\" script." |
17 | exit 1 |
18 | fi |
19 | |
fad8962a |
20 | host=`uname -s` |
21 | export STATION=$host |
22 | export RES_DIR=${aSamplePath}/${STATION}/res |
23 | |
90ac6145 |
24 | export PATH=${QTDIR}/bin:${PATH} |
25 | |
7a53e886 |
26 | source $CASROOT/env.sh |
90ac6145 |
27 | export CSF_OPT_INC="${CASROOT}/inc:${WOKHOME}/lib:${CSF_OPT_INC}" |