0026321: Crash in BRepMesh_FastDiscret::Add
[occt.git] / genproj
diff --git a/genproj b/genproj
index dff8537..745157a 100755 (executable)
--- a/genproj
+++ b/genproj
@@ -37,7 +37,8 @@ source "${aScriptPath}/custom.sh"
 
 if [ -e "${aScriptPath}/env.sh" ]; then source "${aScriptPath}/env.sh"; fi
 
-tclsh "${aScriptPath}/adm/start.tcl" genproj -path="${aScriptPath}" -target=${aTarget} $anOpt2 $anOpt3 $anOpt4 $anOpt5
+cd $aScriptPath
+tclsh "./adm/start.tcl" genproj ${aTarget} $anOpt2 $anOpt3 $anOpt4 $anOpt5
 
 export PATH="$anOldPath"
 export LD_LIBRARY_PATH="$anOldLd"