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 | |
20 | export PATH=${QTDIR}/bin:${PATH} |
21 | |
7a53e886 |
22 | source $CASROOT/env.sh |
90ac6145 |
23 | export CSF_OPT_INC="${CASROOT}/inc:${WOKHOME}/lib:${CSF_OPT_INC}" |