#!/bin/sh
#Tag 0xC98700 (DtExport)
# DtExport wrapper so you don't need to set quite so many env variables

# figure out pathname of this script
case $0 in
/*)     dir=`dirname $0` ;;
*)      # path is relative, put current directory on front
        dir="${PWD:=`pwd`}/$0"
        dir=`dirname $dir`
        ;;
esac

#    Check to see if there is a GAMES_LOCATION setup
#    If not then setup the default area.
if test ! "$GAMES_LOCATION"
then
  GAMES_LOCATION=$ALIAS_LOCATION/ODS/Games
  export GAMES_LOCATION
fi

LD_LIBRARY_PATH=$ALIAS_LOCATION/lib:$GAMES_LOCATION/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH

$dir/.DtExport "$@"


