#!/bin/bash

export TUPI_HOME="/usr/local/tupi"
export TUPI_SHARE="/usr/local/tupi/share/tupi"
export TUPI_LIB="/usr/local/tupi/lib/tupi"
export TUPI_PLUGIN="/usr/local/tupi/lib/tupi/plugins"
export TUPI_BIN="/usr/local/tupi/bin"

export LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib:${TUPI_LIB}:${TUPI_PLUGIN}:$LD_LIBRARY_PATH"

exec ${TUPI_BIN}/tupi.bin $*