forked from JeffersonLab/hcswif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
26 lines (20 loc) · 759 Bytes
/
setup.sh
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
#!/usr/bin/bash
# -----------------------------------------------------------------------------
# Change these if this if not where hallc_replay and hcana live
export hcana_dir=/home/$USER/hcana
export hallc_replay_dir=/home/$USER/hallc_replay
# -----------------------------------------------------------------------------
# Change if this gives you the wrong version of root, evio, etc
source /site/12gev_phys/softenv.sh 2.1
# -----------------------------------------------------------------------------
# Source setup scripts
curdir=`pwd`
cd $hcana_dir
source setup.sh
export PATH=$hcana_dir/bin:$PATH
echo Sourced $hcana_dir/setup.sh
cd $hallc_replay_dir
source setup.sh
echo Sourced $hallc_replay_dir/setup.sh
echo cd back to $curdir
cd $curdir