forked from cp3-llbb/Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
26 lines (24 loc) · 1.19 KB
/
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
26
#!/bin/bash
# Look out for conflicts between git and cmssw
if [ ! -f ${CMSSW_BASE}/src/.git/HEAD ];
then
echo "You seem to be on Ingrid and CMSSW area appears not to be set up correctly. Check README carefully."
echo
return 1
fi
cd ${CMSSW_BASE}/src/cp3_llbb/Framework
# configure the origin repository
GITHUBUSERNAME=`git config user.github`
GITHUBUSERREMOTE=`git remote -v | grep upstream | awk '{print $2}' | head -n 1 | cut -d / -f 2`
git remote add origin git@github.com:${GITHUBUSERNAME}/${GITHUBUSERREMOTE}
# Add the remaining forks
git remote add OlivierBondu https://github.com/OlivierBondu/Framework.git
git remote add blinkseb https://github.com/blinkseb/Framework.git
# have not yet forked, but are expected to:
git remote add delaere https://github.com/delaere/Framework.git
git remote add BrieucF https://github.com/BrieucF/Framework.git
git remote add swertz https://github.com/swertz/Framework.git
git remote add vidalm https://github.com/vidalm/Framework.git
git remote add camillebeluffi https://github.com/camillebeluffi/Framework.git
git remote add acaudron https://github.com/acaudron/Framework.git
git remote add AlexandreMertens https://github.com/AlexandreMertens/Framework.git