0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / adm / templates / env.samples.sh.in
1 #!/bin/bash
2
3 export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
5 if [ -e "custom.sh" ]; then
6    source "custom.sh";
7 fi
8
9 if [ -e "@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_SCRIPT@/env.sh" ]; then
10    source "@INSTALL_DIR_ABSOLUTE@/@INSTALL_DIR_SCRIPT@/env.sh";
11 fi
12
13 if test "${QTDIR}" == ""; then
14    echo "Environment variable \"QTDIR\" not defined. Define it in \"custom.sh\" script."
15    exit 1
16 fi
17
18 host=`uname -s`
19 export STATION=$host
20 export RES_DIR=${aSamplePath}/${STATION}/res
21
22 export PATH=${QTDIR}/bin:${PATH}
23
24 export "CSF_OCCTOverviewSampleCodePath=${aSamplePath}/../../OCCTOverview/code"