#!/bin/ksh93

export UDG_HOME=@CLIENT_BASEDIR@/lib/uDrawGraph
[[ -z ${TMP} ]] && export TMP=${TMPDIR:-/tmp}
F=${.sh.file##*/}
if [[ ! -x ${UDG_HOME}/bin/$F ]]; then
	print -u2 "${UDG_HOME}/bin/$F is not executable."
	exit 1
fi
exec ${UDG_HOME}/bin/$F "$@"
