Skip to content
Snippets Groups Projects
Commit 42a4b3d3 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: avoid ITK_AUTOLOAD_PATH growth at each otbcli/otbgui.bat call

parent 6fa54c1c
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ if exist %CURRENT_SCRIPT_DIR%otbApplicationLauncherCommandLine.exe (
set OTB_CLI_LAUNCHER=otbApplicationLauncherCommandLine.exe
)
setlocal
:: works for install tree
if exist %CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@ (
set ITK_AUTOLOAD_PATH=%CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@;%ITK_AUTOLOAD_PATH%
......@@ -21,3 +22,4 @@ if exist %CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@ (
:: start the application
%OTB_CLI_LAUNCHER% %*
endlocal
......@@ -14,6 +14,7 @@ if exist %CURRENT_SCRIPT_DIR%otbApplicationLauncherQt.exe (
set OTB_GUI_LAUNCHER=otbApplicationLauncherQt.exe
)
setlocal
:: works for install tree
if exist %CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@ (
set ITK_AUTOLOAD_PATH=%CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@;%ITK_AUTOLOAD_PATH%
......@@ -23,3 +24,4 @@ set LC_NUMERIC=C
:: start the application
%OTB_GUI_LAUNCHER% %*
endlocal
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment