|
@@ -40,13 +40,11 @@ while [ $SELECT_OK == "false" ]
|
|
|
do
|
|
|
read -p "Please select download branch code based on your device and ros version: " index
|
|
|
case $index in
|
|
|
- 1)GIT_BRANCH="ubuntu14.04_x64_indigo"
|
|
|
+ 1)GIT_BRANCH="ubuntu16.04_kinetic"
|
|
|
SELECT_OK="true";;
|
|
|
- 2)GIT_BRANCH="ubuntu16.04_x64_kinetic"
|
|
|
+ 2)GIT_BRANCH="raspberry_kinetic"
|
|
|
SELECT_OK="true";;
|
|
|
- 3)GIT_BRANCH="raspberry_jessie_indigo"
|
|
|
- SELECT_OK="true";;
|
|
|
- 4)GIT_BRANCH="raspberry_ubuntuMate16.04_kinetic"
|
|
|
+ 3)GIT_BRANCH="master"
|
|
|
SELECT_OK="true";;
|
|
|
*) echo -e "${red}Selected index error! ${normal}";;
|
|
|
esac
|
|
@@ -61,7 +59,7 @@ then
|
|
|
sudo apt-get install -y git
|
|
|
if [ $? -eq 0 ]
|
|
|
then
|
|
|
- git clone -b ${GIT_BRANCH} http://corvin.cn:8081/gerrit/ros_voice_system
|
|
|
+ git clone -b ${GIT_BRANCH} https://code.corvin.cn:3000/ros_voice_system.git
|
|
|
if [ $? -ne 0 ]
|
|
|
then
|
|
|
echo -e "${red}ERROR! Git clone source code unknown error, please retry later...${normal}"
|