File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -546,14 +546,15 @@ Function_Global_Ask_kernel () {
546546
547547 # カーネルの一覧を取得
548548 local Var_Local_kernel_list
549- Var_Local_kernel_list=($( " ${Var_Global_Wizard_Env_script_path} /tools/kernel.sh" -a " ${Var_Global_Wizard_Option_build_arch} " show) )
549+ # Var_Local_kernel_list=($("${Var_Global_Wizard_Env_script_path}/tools/kernel.sh" -a "${Var_Global_Wizard_Option_build_arch}" show))
550+ readarray -t Var_Local_kernel_list < <( " ${Var_Global_Wizard_Env_script_path} /tools/kernel.sh" -a " ${Var_Global_Wizard_Option_build_arch} " show)
550551
551552 # 選択肢の生成
552553 local Var_Local_kernel Var_Local_count=1 Var_Local_int
553554 for Var_Local_kernel in " ${Var_Local_kernel_list[@]} " ; do
554555 (
555556 local kernel kernel_filename kernel_mkinitcpio_profile
556- eval $( " ${Var_Global_Wizard_Env_script_path} /tools/kernel.sh" -a " ${Var_Global_Wizard_Option_build_arch} " get " ${Var_Local_kernel} " )
557+ eval " $( " ${Var_Global_Wizard_Env_script_path} /tools/kernel.sh" -a " ${Var_Global_Wizard_Option_build_arch} " get " ${Var_Local_kernel} " ) "
557558 echo -n " $( printf %02d " ${Var_Local_count} " ) ${kernel} "
558559 for Var_Local_int in $( seq 1 $(( 19 - ${# kernel} )) ) ; do echo -ne " " ; done
559560 echo -ne " (${kernel_filename} )\n"
You can’t perform that action at this time.
0 commit comments