0030579: Draw Harness, Draw_Interpretor - catch exceptions other than Standard_Failure
[occt.git] / genconf
CommitLineData
72c37458 1#!/bin/bash
2
3# Helper script to configure environment for genproj tool.
4# Running it requires that Tcl should be in the PATH
5
6# initialize environment
7aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
8if [ ! -e "${aScriptPath}/env.sh" ]; then
08f8a185 9 cat ${aScriptPath}/adm/templates/env.sh | sed -e '/__CASROOT__/d' > ${aScriptPath}/env.sh
72c37458 10fi
11
08f8a185 12if [ -e "${aScriptPath}/custom.sh" ]; then source "${aScriptPath}/custom.sh"; fi
13
72c37458 14# run GUI tool
15tclsh "${aScriptPath}/adm/genconf.tcl"