#!/bin/sh

##############################################################################
# This script starts tkrat. TkRat requires that a number of variables are set
# when it starts so this script sets them. They are:
#    LIBDIR	 - The location of the tcl and exec files
#    EXEC	 - the name of the exec-file (relative to LIBDIR)
#    COMPRESS	 - The name of the compress program
#    CSUFFIX	 - Suffix of compressed files
#    CONFIG_FILE - Name of the global config file
#    PGP	 - Name of pgp program or empty string if none
##############################################################################

LIBDIR=../tkrat
EXEC=../lib/tkrat.exec
COMPRESS=gzip
CSUFFIX=gz
CONFIG_DIR=.
PGP=/usr/pd/bin/pgp
export LIBDIR EXEC COMPRESS CSUFFIX CONFIG_DIR PGP

exec ${LIBDIR}/${EXEC} $*
