File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -511,15 +511,15 @@ Function_Global_Ask_channel () {
511511 Var_Local_count=" $(( Var_Local_count + 1 )) "
512512 done
513513 echo -n " :"
514- read channel
514+ read Var_Global_Build_channel
515515
516516 # 入力された値が数字かどうか判定する
517517 set +e
518518 expr " ${Var_Global_Build_channel} " + 1 > /dev/null 2>&1
519- if [[ ${?} -lt 2 ]] ; then
519+ if (( ${?} == 0 )) ; then
520520 set -e
521521 # 数字である
522- Var_Global_Build_channel=$(( channel - 1 ))
522+ Var_Global_Build_channel=$(( Var_Global_Build_channel - 1 ))
523523 if [[ -z " ${Var_Local_channel_list[${Var_Global_Build_channel}]} " ]]; then
524524 Function_Global_Ask_channel
525525 return 0
@@ -704,6 +704,7 @@ Function_Global_Main_ask_questions () {
704704}
705705
706706Function_Global_Prebuild () {
707+ Function_Global_Ask_channel
707708 Function_Global_Main_wizard_language
708709 Function_Global_Main_check_required_files
709710 Function_Global_Main_load_default_config
You can’t perform that action at this time.
0 commit comments