#!/bin/bash if [ -z "${LOGONROOT}" ]; then # # determine the LOGON root directory, assuming this script resides in a # `bin' sub-directory that is shared across platforms. # path=$(dirname $0) if [ "${path#./}" != "${path}" ]; then path="$(pwd)/${path#./}" fi if [ "${path#/}" = "${path}" ]; then if [ "${path}" = "." ]; then path="$(pwd)"; else path="$(pwd)/${path}" fi fi LOGONROOT="${path%/bin}"; export LOGONROOT fi if [ ! -f ${LOGONROOT}/etc/library.bash ]; then echo "logon: unable to determine \$LOGONROOT source directory; exit" exit 1; fi . ${LOGONROOT}/etc/library.bash exec ${LOGONROOT}/lingo/lkb/bin/${LOGONOS}/tsdb "$@"