swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Tip revision: dcb922929da2cc10a4423f6158350c677d16f5c6 authored by Rene Brun on 14 December 2009, 20:14:39 UTC
Tip revision: dcb9229
thisroot.csh
# Source this script to set up the ROOT build that this script is part of.
#
# 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
# $_ should be source .../thisroot.csh
set ARGS=($_)
set THIS="`dirname ${ARGS[2]}`"
setenv ROOTSYS "`(cd ${THIS}/..;pwd)`"
set path = (@bindir@ $path)
if ($?LD_LIBRARY_PATH) then
setenv LD_LIBRARY_PATH @libdir@:$LD_LIBRARY_PATH # Linux, ELF HP-UX
else
setenv LD_LIBRARY_PATH @libdir@
endif
if ($?DYLD_LIBRARY_PATH) then
setenv DYLD_LIBRARY_PATH @libdir@:$DYLD_LIBRARY_PATH # Mac OS X
else
setenv DYLD_LIBRARY_PATH @libdir@
endif
if ($?SHLIB_PATH) then
setenv SHLIB_PATH @libdir@:$SHLIB_PATH # legacy HP-UX
else
setenv SHLIB_PATH @libdir@
endif
if ($?LIBPATH) then
setenv LIBPATH @libdir@:$LIBPATH # AIX
else
setenv LIBPATH @libdir@
endif
if ($?PYTHONPATH) then
setenv PYTHONPATH @libdir@:$PYTHONPATH
else
setenv PYTHONPATH @libdir@
endif
if ($?MANPATH) then
setenv MANPATH `dirname @mandir@`:$MANPATH
else
setenv MANPATH `dirname @mandir@`
endif