0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
[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"