Skip to content
Snippets Groups Projects
Commit 5fcdecf7 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: chdir to script dir and then start otbcli

parent 60741662
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,13 @@ CURRENT_SCRIPT_DIR=`dirname $0`
if [ -e $CURRENT_SCRIPT_DIR/otbcli ]
then
# Prefer using the launcher inside the script dir
OTB_CLI_LAUNCHER=$CURRENT_SCRIPT_DIR/otbcli
OTB_CLI_LAUNCHER=./otbcli
else
# Use the one from the PATH
OTB_CLI_LAUNCHER=otbcli
fi
cd $CURRENT_SCRIPT_DIR
# start the application
$OTB_CLI_LAUNCHER @APPLICATION_NAME@ "$@"
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