Commit 4b9caca2 authored by Rashad Kanavath's avatar Rashad Kanavath

PKG: use name otbenv.bat rather than otbenv.cmd (more user-friendly.?)

parent 95ba3ba1
......@@ -21,8 +21,8 @@ if exist %CURRENT_SCRIPT_DIR%..\@OTB_INSTALL_APP_DIR_NATIVE@ (
)
::set GDAL_DATA, EPSG_CSV and update PATH
if exist %CURRENT_SCRIPT_DIR%\..\otbenv.cmd (
call %CURRENT_SCRIPT_DIR%\..\otbenv.cmd
if exist %CURRENT_SCRIPT_DIR%\..\otbenv.bat (
call %CURRENT_SCRIPT_DIR%\..\otbenv.bat
)
set LC_NUMERIC=C
......
......@@ -22,6 +22,11 @@ if exist %CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@ (
set LC_NUMERIC=C
::set GDAL_DATA, EPSG_CSV and update PATH
if exist %CURRENT_SCRIPT_DIR%\..\otbenv.bat (
call %CURRENT_SCRIPT_DIR%\..\otbenv.bat
)
:: start the application
%OTB_GUI_LAUNCHER% %*
endlocal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment