Commit ecb059d2 authored by Rashad Kanavath's avatar Rashad Kanavath

BUG: otbenv.cmd -> otbenv.bat

with .cmd extension users cannot easily understand it is a
shell script. windows typical .bat for scripts.
So I hope this will make it crystal clear now!
parent 26248b25
......@@ -8,7 +8,7 @@ setlocal
set CURRENT_SCRIPT_DIR=%~dp0
:: Setup environment
call %CURRENT_SCRIPT_DIR%otbenv.cmd
call %CURRENT_SCRIPT_DIR%otbenv.bat
:: Set current dir to HOME dir because Monteverdi generates temporary files and need write access
cd %HOMEDRIVE%%HOMEPATH%
......
......@@ -8,7 +8,7 @@ setlocal
set CURRENT_SCRIPT_DIR=%~dp0
:: Setup environment
call %CURRENT_SCRIPT_DIR%otbenv.cmd
call %CURRENT_SCRIPT_DIR%otbenv.bat
:: Set current dir to HOME dir because Monteverdi generates temporary files and need write access
cd %HOMEDRIVE%%HOMEPATH%
......
......@@ -20,7 +20,7 @@ wmic PROCESS where "Name='WMIC.exe'" get ParentProcessId >pid.log 2>&1
for /F "TOKENS=1" %%b in ('type pid.log ^| findstr [0-9]') do set CURRENT_PID=%%b
:: setup the otbenv
call otbenv.cmd
call otbenv.bat
del selftest_report.log
type NUL > selftest_report.log
......
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