File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Please make sure that bin/bash is the location of your bash terminal,if not please replace with your local machine's bash path
3
-
3
+ branch= " ${1 :- development} "
4
4
sudo apt install -y curl
5
- curl -O https://raw.githubusercontent.com/robocomp/robocomp/development /classes/threadpool/threadpool.h && sudo mkdir -p /usr/include/threadpool && sudo mv threadpool.h /usr/include/threadpool
5
+ curl -O https://raw.githubusercontent.com/robocomp/robocomp/$branch /classes/threadpool/threadpool.h && sudo mkdir -p /usr/include/threadpool && sudo mv threadpool.h /usr/include/threadpool
6
6
sudo apt install qtbase5-dev
7
7
sudo apt-get install -y libopenscenegraph-dev
8
8
sudo apt install libasio-dev
Original file line number Diff line number Diff line change 6
6
# # like this: curl -o- -L https://raw.githubusercontent.com/robocomp/cortex/development/installation.sh | bash -x
7
7
# # This will install all the cortex dependencies and the library itself. You can read this script and dependencies.sh to better know what is done.
8
8
# ######################
9
-
9
+ branch= " ${1 :- development} "
10
10
set -e
11
- git clone https://github.com/robocomp/cortex.git
11
+ git clone --branch $branch https://github.com/robocomp/cortex.git
12
12
cd cortex
13
13
yes | bash dependencies.sh
14
14
mkdir -p build
You can’t perform that action at this time.
0 commit comments