#!/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 Convert "$@"
