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