0027212: Make cmake configurator flexible concerning option BUILD_WITH_DEBUG
[occt.git] / gendoc
diff --git a/gendoc b/gendoc
old mode 100644 (file)
new mode 100755 (executable)
index 3fb2d61..2d77ea9
--- a/gendoc
+++ b/gendoc
@@ -12,7 +12,7 @@ anOldDyLd="$DYLD_LIBRARY_PATH"
 aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
 if [ -e "${aScriptPath}/env.sh" ]; then source "${aScriptPath}/env.sh"; fi
 
-tclsh "${aScriptPath}/adm/start.tcl" $anArgs
+tclsh "${aScriptPath}/adm/start.tcl" gendoc $anArgs
 
 export PATH="$anOldPath"
 export LD_LIBRARY_PATH="$anOldLd"