#!/bin/sh

################################################################################
#                                                                              #
# A system-wide starup script for the inspecting tool. This typically goes     #
# into /usr/bin/diva . This script it being filled-in by the SCons build       #
# script.                                                                      #
#                                                                              #
################################################################################

LIB_DIR="/usr/lib"
SHARE_DIR="/usr/share"

export DIVA_LOCALE="$SHARE_DIR/locale/"
export MONO_PATH="$MONO_PATH:$LIB_DIR/diva"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_DIR/diva:"

exec mono "$LIB_DIR/diva/inspector.exe" "$@"
