3 export aSamplePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4 if [ -e "${aSamplePath}/env.sh" ]; then source "${aSamplePath}/env.sh"; fi
10 RES_DIR="${aSamplePath}/res"
13 if [ "$aSystem" == "Darwin" ] && [ "$MACOSX_USE_GLX" != "true" ]; then
14 if [ "${CASDEB}" == "d" ]; then
15 BIN_DIR="${aSamplePath}/build/Debug/IESample.app/Contents/MacOS"
17 BIN_DIR="${aSamplePath}/build/Release/IESample.app/Contents/MacOS"
20 BIN_DIR="${aSamplePath}/${STATION}/bin${CASDEB}"
23 CSF_ResourcesDefaults="${RES_DIR}"
24 CSF_IEResourcesDefaults="${RES_DIR}"
26 PATH="${BIN_DIR}:${PATH}"
28 export CSF_IEResourcesDefaults CSF_ResourcesDefaults
31 if test ! -r "${BIN_DIR}/IESample"; then
32 echo "Executable \"${BIN_DIR}/IESample\" not found."
33 if [ "$aSystem" == "Darwin" ] && [ "$MACOSX_USE_GLX" != "true" ]; then
34 echo "Probably you don't compile the application. Build it with Xcode."
36 echo "Probably you don't compile the application. Execute \"make\"."