Commit d1a19bd7 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: selftester and uninstall scripts are moved to tools

parent d249a22b
...@@ -87,7 +87,7 @@ goto :eof ...@@ -87,7 +87,7 @@ goto :eof
:check_binary :check_binary
setlocal setlocal
type NUL > tmp.log type NUL > tmp.log
bin\otb_loader.exe %1 > tmp.log 2>&1 tools\otb_loader.exe %1 > tmp.log 2>&1
call :nb_tmp_lines call :nb_tmp_lines
if %nb_tmp_lines_out% gtr 0 ( if %nb_tmp_lines_out% gtr 0 (
echo ERROR : otb_loader.exe %1 echo ERROR : otb_loader.exe %1
......
:: uninstall script for OTB :: uninstall script for OTB
set CUR_DIR=%~dp0 set CUR_DIR=%~dp0
cmake -S OUT_DIR/cmake_uninstall_otb.cmake -DMY_INSTALL_DIR=%CUR_DIR% -DCMAKE_COMMAND=cmake cmake -S OUT_DIR/tools/cmake_uninstall_otb.cmake -DMY_INSTALL_DIR=%CUR_DIR% -DCMAKE_COMMAND=cmake
del %CUR_DIR%mapla.bat del %CUR_DIR%mapla.bat
del %CUR_DIR%monteverdi.bat del %CUR_DIR%monteverdi.bat
echo "OTB is now uninstalled from %CUR_DIR%" echo "OTB is now uninstalled from %CUR_DIR%"
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
set -e set -e
CMAKE=$(which cmake) CMAKE=$(which cmake)
$CMAKE -S OUT_DIR/cmake_uninstall_otb.cmake -DMY_INSTALL_DIR=OUT_DIR -DCMAKE_COMMAND=$CMAKE $CMAKE -S OUT_DIR/tools/cmake_uninstall_otb.cmake -DMY_INSTALL_DIR=OUT_DIR -DCMAKE_COMMAND=$CMAKE
rm -f OUT_DIR/mapla.sh rm -f OUT_DIR/mapla.sh
rm -f OUT_DIR/monteverdi.sh rm -f OUT_DIR/monteverdi.sh
echo "OTB is now uninstalled from OUT_DIR" echo "OTB is now uninstalled from OUT_DIR"
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