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

BACKOUT 18149: changing directory makes relative paths wrong

parent 4afaa793
No related branches found
No related tags found
No related merge requests found
......@@ -10,13 +10,11 @@ CURRENT_SCRIPT_DIR=`dirname $0`
if [ -e $CURRENT_SCRIPT_DIR/otbcli ]
then
# Prefer using the launcher inside the script dir
OTB_CLI_LAUNCHER=./otbcli
OTB_CLI_LAUNCHER=$CURRENT_SCRIPT_DIR/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