0029368: Incorrect intersection state of the intersection point of two 2d curves
[occt.git] / samples / qt / IESample / env.sh
CommitLineData
980d161f 1#!/bin/bash
7a53e886 2
980d161f 3export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
90ac6145 4
980d161f 5if [ -e "custom.sh" ]; then
e3368235 6 source "custom.sh" $*;
90ac6145 7fi
8
980d161f 9if [ -e "${aSamplePath}/../../../env.sh" ]; then
e3368235 10 source "${aSamplePath}/../../../env.sh" $*;
90ac6145 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
90ac6145 23fi
24
fad8962a 25host=`uname -s`
26export STATION=$host
27export RES_DIR=${aSamplePath}/${STATION}/res