otbcli_app.sh.in 382 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/bash

#
# Autogenerated by OTB installation process
# DO NOT MODIFY
#

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
else
  # Use the one from the PATH
  OTB_CLI_LAUNCHER=otbcli
fi

# start the application
$OTB_CLI_LAUNCHER @APPLICATION_NAME@ "$@"