#!/bin/bash

# Edit the following to point to the location of FDR, or set this environment
# variable in one of your start-up files
FDRHOME=${FDRHOME-/usr/local/fdr}
export FDRHOME

# The Casper files.  Edit the following line to point to the directory where
# the Casper files are stored, or set this environment variable in one of your
# start-up files
CASPERBASE=${CASPERBASE-/users/gavinl/Security/Casper}
export CASPERBASE

fname=""

CASPERFDRHOME=$CASPERBASE/CasperFDR
export CASPERFDRHOME

if [ $# -ne 0 ]; then
  fname=$1
fi

CLASSPATH=$CASPERFDRHOME:$CLASSPATH
export CLASSPATH

PATH=$PATH:$FDRHOME/bin:$CASPERBASE
export PATH

java -classpath $CLASSPATH CasperFDR $CASPERFDRHOME $fname

