Skip to content
Snippets Groups Projects
Commit 4d42d67a authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Restore correct version of setup.csh

parent 4eac4fed
No related branches found
No related tags found
No related merge requests found
...@@ -2,29 +2,17 @@ ...@@ -2,29 +2,17 @@
set called=($_) set called=($_)
if ("$called" != "") then if ("$called" != "") then
set scriptdir=$called[2] set scriptdir=$called[2]
echo $scriptdir set MYDIR=`dirname $scriptdir`
# set MYDIR=`dirname $scriptdir` set MYDIR=`cd $MYDIR && pwd` # ensure absolute path
# set MYDIR=`cd $MYDIR && pwd` # ensure absolute path
set MYDIR=`pwd` # ensure absolute path
# echo $MYDIR
# echo "Are we here"
else else
set scriptdir=$1 set scriptdir=$1
set MYDIR=$scriptdir set MYDIR=$scriptdir
endif endif
setenv ANALYZER $MYDIR/podd setenv ANALYZER $MYDIR/podd
setenv HCANALYZER $MYDIR setenv HCANALYZER $MYDIR
# Check if LD_LIBRARY_PATH is defined # Check if LD_LIBRARY_PATH is defined
if ( ! ($?LD_LIBRARY_PATH) ) then if ( ! ($?LD_LIBRARY_PATH) ) then
setenv LD_LIBRARY_PATH "" setenv LD_LIBRARY_PATH ""
endif endif
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${ANALYZER}:${HCANALYZER}" setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${ANALYZER}:${HCANALYZER}"
echo $ANALYZER
echo $HCANALYZER
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment