diff --git a/rebuild b/rebuild index 6a1d92631a..914eb2ae05 100755 --- a/rebuild +++ b/rebuild @@ -922,9 +922,9 @@ download_depends [[ "${auto_kernel}" == "true" ]] && query_version download_kernel # -echo -e "${INFO} Armbian board list: [ $(echo ${build_armbian[*]} | tr "\n" " ") ]" -echo -e "${INFO} Stable kernel list: [ $(echo ${stable_kernel[*]} | tr "\n" " ") ]" -echo -e "${INFO} Rk3588 Kernel list: [ $(echo ${rk3588_kernel[*]} | tr "\n" " ") ]" +echo -e "${INFO} [ ${#build_armbian[*]} ] lists of Armbian board: [ $(echo ${build_armbian[*]} | xargs) ]" +echo -e "${INFO} [ ${#stable_kernel[*]} ] lists of stable kernel: [ $(echo ${stable_kernel[*]} | xargs) ]" +echo -e "${INFO} [ ${#rk3588_kernel[*]} ] lists of rk3588 Kernel: [ $(echo ${rk3588_kernel[*]} | xargs) ]" echo -e "${INFO} ROOTFS type: [ ${ROOTFS_TYPE} ] \n" # # Loop to rebuild armbian diff --git a/recompile b/recompile index 124c683cfb..b1da0ef2ea 100755 --- a/recompile +++ b/recompile @@ -660,7 +660,7 @@ init_var "${@}" [[ "${auto_kernel}" == "true" ]] && query_version echo -e "${INFO} Kernel compilation toolchain: [ ${toolchain_name} ]" echo -e "${INFO} Kernel from: [ ${code_owner} ]" -echo -e "${INFO} Kernel List: [ $(echo ${build_kernel[*]} | tr "\n" " ") ] \n" +echo -e "${INFO} Kernel List: [ $(echo ${build_kernel[*]} | xargs) ] \n" toolchain_check # Loop to compile the kernel loop_recompile