-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
37 lines (32 loc) · 802 Bytes
/
setup.sh
File metadata and controls
37 lines (32 loc) · 802 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/bash
# environment on UAF:
export SCRAM_ARCH=slc6_amd64_gcc630
source /cvmfs/cms.cern.ch/cmsset_default.sh
# git clone git@github.com:cmstas/MT2Analysis.git
# cd MT2Analysis
# git checkout cmssw80x
cmsrel CMSSW_9_4_9
cd CMSSW_9_4_9/src
cmsenv
cd ../..
# git clone git@github.com:cmstas/CORE.git
if [ -d /home/users/$USER/CORE ]
then
echo "Creating symbolic link to ~/CORE , make sure that it's up to date."
ln -s /home/users/$USER/CORE .
else
git clone git@github.com:cmstas/CORE.git
cd CORE
git checkout master
cd ..
# git clone git@github.com:cmstas/Tools.git
fi
if [ -d /home/users/$USER/Nifty ]; then
echo "Creating symbolic link to ~/Nifty."
ln -s /home/users/$USER/CORE .
else
git clone http://github.com/dpgilbert/Nifty
fi
cd babymaker
make -j 8
cd ..