#!/bin/csh

set called=($_)
if ("$called" != "") then
  set scriptdir=$called[2]
else
  set scriptdir=$0
endif
set MYDIR=`dirname $scriptdir`
set MYDIR=`cd $MYDIR && pwd`    # ensure absolute path
setenv ANALYZER $MYDIR/podd
setenv HCANALYZER $MYDIR
# Check if LD_LIBRARY_PATH is defined
if ( ! ($?LD_LIBRARY_PATH) ) then
   setenv LD_LIBRARY_PATH ""
endif
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${ANALYZER}:${HCANALYZER}"



