-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathroots.in
More file actions
executable file
·37 lines (33 loc) · 817 Bytes
/
roots.in
File metadata and controls
executable file
·37 lines (33 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/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 explicitly $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 "$@"