0031568: Data Exchange - invalid model produced after STEP import
[occt.git] / samples / qt / FuncDemo / env.sh
CommitLineData
6396eacb 1#!/bin/bash
2
3export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
5if [ -e "custom.sh" ]; then
e3368235 6 source "custom.sh" $*;
6396eacb 7fi
8
9if [ -e "${aSamplePath}/../../../env.sh" ]; then
e3368235 10 source "${aSamplePath}/../../../env.sh" $*;
6396eacb 11fi
12
e3368235 13if [ "${QTDIR}" != "" ]; then
14 export PATH=${QTDIR}/bin:${PATH}
15else
16 aQMakePath=`which qmake`
17 echo "Environment variable \"QTDIR\" not defined.. Define it in \"custom.sh\" script."
18 if [ -x "$aQMakePath" ]; then
19 echo "qmake from PATH will be used instead."
20 else
21 exit 1
22 fi
6396eacb 23fi
24
25host=`uname -s`
26export STATION=$host