https://github.com/root-project/root
Raw File
Tip revision: b45a2bb2f8a9828c8579087c386eb6d8f7ecc874 authored by Unknown Author on 10 November 2006, 16:21:28 UTC
This commit was manufactured by cvs2svn to create tag 'v5-13-04c'.
Tip revision: b45a2bb
thisroot.csh
# Source this script in the top of the ROOT directory that you want to
# make active, e.g.:
#   cd ~/root-test
#   source bin/thisroot.csh
#
# Conveniently an alias like this can be defined in ~/.cshrc:
#   alias thisroot "source bin/thisroot.sh"
#
# This script if for the csh like shells, see thisroot.sh for bash like shells.
#
# Author: Fons Rademakers, 18/8/2006

setenv ROOTSYS `pwd`

set path = ($ROOTSYS/bin $path)

if ($?LD_LIBRARY_PATH) then
   setenv LD_LIBRARY_PATH $ROOTSYS/lib:$LD_LIBRARY_PATH      # Linux, ELF HP-UX
else
   setenv LD_LIBRARY_PATH $ROOTSYS/lib
endif

if ($?DYLD_LIBRARY_PATH) then
   setenv DYLD_LIBRARY_PATH $ROOTSYS/lib:$DYLD_LIBRARY_PATH  # Mac OS X
else
   setenv DYLD_LIBRARY_PATH $ROOTSYS/lib
endif

if ($?SHLIB_PATH) then
   setenv SHLIB_PATH $ROOTSYS/lib:$SHLIB_PATH                # legacy HP-UX
else
   setenv SHLIB_PATH $ROOTSYS/lib
endif

if ($?LIBPATH) then
   setenv LIBPATH $ROOTSYS/lib:$LIBPATH                      # AIX
else
   setenv LIBPATH $ROOTSYS/lib
endif

if ($?MANPATH) then
   setenv MANPATH $ROOTSYS/man:$MANPATH
else
   setenv MANPATH $ROOTSYS/man
endif
back to top