Revision dc2d2f297d38600d48b4f9dc41facfd7f4f7d5e1 authored by Fons Rademakers on 13 October 2010, 10:39:18 UTC, committed by Fons Rademakers on 13 October 2010, 10:39:18 UTC

git-svn-id: http://root.cern.ch/svn/root/tags/v5-26-00e@36332 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent cdc6862
Raw File
roots.in
#!/bin/sh

#
# Template for the 'roots.sh' script.
# In case of problems with 'ssh' not executing the relevant <shell>rc init
# script, an ad hoc version of this script can be put, for example, under
# $HOME/bin, defining explicitely $ROOTSYS, e.g.
#
# ----------------------------------------------------------------------
# #!/bin/sh
#
# ROOTSYS=/afs/cern.ch/sw/lcg/external/root/5.15.06/slc4_amd64_gcc34
# cd $ROOTSYS
# source bin/thisroot.sh
# cd
#
# echo "Using ROOT at $ROOTSYS"
#
# exec $ROOTSYS/bin/roots.exe "$@"
# -----------------------------------------------------------------------
#
# In such a case to start the remote session do
#
#    root [0] .R lxplus ~/bin/roots
#    lxplus:root [1]
#

cd $ROOTSYS
source bin/thisroot.sh
cd

echo "Using ROOT at $ROOTSYS"

exec @bindir@/roots.exe "$@"
back to top