|
@@ -31,20 +31,13 @@ echo -e "${green}********** Welcome Download ROS Chinese Voice System Source Cod
|
|
echo -e "${green}********** www.corvin.cn ********** ${normal}\n"
|
|
echo -e "${green}********** www.corvin.cn ********** ${normal}\n"
|
|
echo -e "${green}***************************************************************************** ${normal}\n"
|
|
echo -e "${green}***************************************************************************** ${normal}\n"
|
|
echo -e "${green}In Server All Git Branches List Blow:${normal}"
|
|
echo -e "${green}In Server All Git Branches List Blow:${normal}"
|
|
-echo -e "${green}1: ubuntu14.04_x64_indigo${normal}"
|
|
|
|
-echo -e "${green}2: ubuntu16.04_x64_kinetic${normal}"
|
|
|
|
-echo -e "${green}3: raspberry_jessie_indigo${normal}"
|
|
|
|
-echo -e "${green}4: raspberry_ubuntuMate16.04_kinetic${normal}"
|
|
|
|
|
|
+echo -e "${green}1: master${normal}"
|
|
|
|
|
|
while [ $SELECT_OK == "false" ]
|
|
while [ $SELECT_OK == "false" ]
|
|
do
|
|
do
|
|
read -p "Please select download branch code based on your device and ros version: " index
|
|
read -p "Please select download branch code based on your device and ros version: " index
|
|
case $index in
|
|
case $index in
|
|
- 1)GIT_BRANCH="ubuntu16.04_kinetic"
|
|
|
|
- SELECT_OK="true";;
|
|
|
|
- 2)GIT_BRANCH="raspberry_kinetic"
|
|
|
|
- SELECT_OK="true";;
|
|
|
|
- 3)GIT_BRANCH="master"
|
|
|
|
|
|
+ 1)GIT_BRANCH="master"
|
|
SELECT_OK="true";;
|
|
SELECT_OK="true";;
|
|
*) echo -e "${red}Selected index error! ${normal}";;
|
|
*) echo -e "${red}Selected index error! ${normal}";;
|
|
esac
|
|
esac
|