otbgui_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/otbgui ]
then
  # Prefer using the launcher inside the script dir
  OTB_GUI_LAUNCHER=$CURRENT_SCRIPT_DIR/otbgui
else
  # Use the one from the PATH
  OTB_GUI_LAUNCHER=otbgui
fi

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