-
Notifications
You must be signed in to change notification settings - Fork 2
/
checkout.sh
executable file
·75 lines (66 loc) · 1.62 KB
/
checkout.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env bash
RUNNINGSCRIPT="$0"
FILENAME="$(echo $(cd $(dirname "$BASH_SOURCE") && pwd -P)/$(basename "$BASH_SOURCE"))"
err_report() {
echo "Error on line $2:$1"
echo "Stopping the script $(basename "$3")."
}
trap 'err_report $LINENO $FILENAME $RUNNINGSCRIPT; exit 1' ERR
set -E -o pipefail
source config.sh
#pull changes
git config --global url."https://gite.lirmm.fr/".insteadOf [email protected]:
git config --global credential.helper cache #allows for only a single login
cd $SRC_DIR/spdlog
git pull
cd $SRC_DIR/Eigen3ToPython
git pull
git submodule update --recursive
cd $SRC_DIR/eigen-qld
git pull
git submodule update --recursive
cd $SRC_DIR/eigen-quadprog
git pull
git submodule update --recursive
cd $SRC_DIR/eigen-lssol #Requires login
git pull
git submodule update --recursive
cd $SRC_DIR/tinyxml2
git pull
git submodule update --recursive
cd $SRC_DIR/jrl-qp
git pull
git submodule update --recursive
cd $SRC_DIR/sch-core-python
git pull
git submodule update --recursive
cd $SRC_DIR/SpaceVecAlg
git pull
git submodule update --recursive
cd $SRC_DIR/RBDyn
git pull
git submodule update --recursive
cd $SRC_DIR/mc_rbdyn_urdf
git pull
git submodule update --recursive
cd $SRC_DIR/Tasks
git pull
git submodule update --recursive
cd $SRC_DIR/hpp-spline
git pull
git submodule update --recursive
cd $SRC_DIR/hrp5_p_description
git pull
git submodule update --recursive
cd $SRC_DIR/mc_rtc_data
git pull
git submodule update --recursive
cd $SRC_DIR/mc_rtc
git pull
git submodule update --recursive
cd $SRC_DIR/mc_hrp5_p
git pull
git submodule update --recursive
cd $SRC_DIR/mc_openrtm
git pull
git submodule update --recursive