Revision 91ec76eafab1a80964967b7e117c7ed0938bcaac authored by Axel Naumann on 31 August 2011, 13:29:57 UTC, committed by Axel Naumann on 31 August 2011, 13:29:57 UTC
Agree in meaning on "single ESC has a meaning":
* rename to reduce ambiguity
* initialize properly, test for the correct value.
Fixes


git-svn-id: http://root.cern.ch/svn/root/branches/v5-30-00-patches@40778 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent f4ddfc3
Raw File
roots.in
#!/bin/sh

#
# $Id$
#
#
# 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