diff options
Diffstat (limited to '_tcsh/heainit.csh')
-rw-r--r-- | _tcsh/heainit.csh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/_tcsh/heainit.csh b/_tcsh/heainit.csh new file mode 100644 index 0000000..ddd6c1c --- /dev/null +++ b/_tcsh/heainit.csh @@ -0,0 +1,14 @@ +#!/bin/csh +# +# HEASOFT settings +# + +source $HEADAS/headas-init.csh +# set HEA_LDLIB="`echo $LD_LIBRARY_PATH | tr ':' '\n' | grep 'heasoft' | head -n 1`" + +if ( $?LD_LIBRARY_PATH_BAK ) then + setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH_BAK}" +endif + +exit 0 + |