0029050: SKIPPED test cases are no listed in header of summary.html
[occt.git] / samples / qt / Tutorial / 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
6 source "custom.sh";
90ac6145 7fi
8
980d161f 9if [ -e "${aSamplePath}/../../../env.sh" ]; then
10 source "${aSamplePath}/../../../env.sh";
90ac6145 11fi
12
e085d8a6 13if test "${QTDIR}" == ""; then
14 echo "Environment variable \"QTDIR\" not defined. Define it in \"custom.sh\" script."
90ac6145 15 exit 1
16fi
17
fad8962a 18host=`uname -s`
19export STATION=$host
20export RES_DIR=${aSamplePath}/${STATION}/res
21
e085d8a6 22export PATH=${QTDIR}/bin:${PATH}