From 93fa4fae4951cf1c948ebb7d6db26cee6a048502 Mon Sep 17 00:00:00 2001 From: baixu Date: Mon, 14 Oct 2024 17:01:14 +0800 Subject: [PATCH] fixed some spelling errors --- .../Development_framework/hpc-sdk/script/common_fun.sh | 4 ++-- examples/mpi/devkitdemo-main/hpc-sdk/script/common_fun.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/mpi/devkitdemo-main/Development_framework/hpc-sdk/script/common_fun.sh b/examples/mpi/devkitdemo-main/Development_framework/hpc-sdk/script/common_fun.sh index 91e1a03..6432fb0 100644 --- a/examples/mpi/devkitdemo-main/Development_framework/hpc-sdk/script/common_fun.sh +++ b/examples/mpi/devkitdemo-main/Development_framework/hpc-sdk/script/common_fun.sh @@ -486,7 +486,7 @@ del_math_kml() { else $install_package_kind -P "${boost_math_name}" fi - logger "Deleting kml successfull" ${TIP_COLOR_ECHO} + logger "Deleting kml successful" ${TIP_COLOR_ECHO} } del_hyper_mpi() { @@ -515,7 +515,7 @@ del_compiler() { if [[ -f "${compiler_modules_path}" ]] || [[ -d "${compiler_path}" ]];then [[ -f "${compiler_modules_path}" ]] && logger "${compiler_modules_path} file already exists." ${TIP_COLOR_WARNING} [[ -d "${compiler_path}" ]] && logger "${compiler_path} directory is not empty." ${TIP_COLOR_WARNING} - read_answer "Are you sure you want to continue the instllation? if yes, the ${compiler_path} directory or ${compiler_modules_path} file will be overwritten." + read_answer "Are you sure you want to continue the installation? if yes, the ${compiler_path} directory or ${compiler_modules_path} file will be overwritten." if [[ $? != 0 ]];then logger "Do not install the ${compiler_type^^} repeatedly." ${TIP_COLOR_ECHO} return 1 diff --git a/examples/mpi/devkitdemo-main/hpc-sdk/script/common_fun.sh b/examples/mpi/devkitdemo-main/hpc-sdk/script/common_fun.sh index 34fac2f..28ea1f1 100644 --- a/examples/mpi/devkitdemo-main/hpc-sdk/script/common_fun.sh +++ b/examples/mpi/devkitdemo-main/hpc-sdk/script/common_fun.sh @@ -489,7 +489,7 @@ del_math_kml() { else $install_package_kind -P "${boost_math_name}" fi - logger "Deleting kml successfull" ${TIP_COLOR_ECHO} + logger "Deleting kml successful" ${TIP_COLOR_ECHO} } del_hyper_mpi() { @@ -518,7 +518,7 @@ del_compiler() { if [[ -f "${compiler_modules_path}" ]] || [[ -d "${compiler_path}" ]];then [[ -f "${compiler_modules_path}" ]] && logger "${compiler_modules_path} file already exists." ${TIP_COLOR_WARNING} [[ -d "${compiler_path}" ]] && logger "${compiler_path} directory is not empty." ${TIP_COLOR_WARNING} - read_answer "Are you sure you want to continue the instllation? if yes, the ${compiler_path} directory or ${compiler_modules_path} file will be overwritten." + read_answer "Are you sure you want to continue the installation? if yes, the ${compiler_path} directory or ${compiler_modules_path} file will be overwritten." if [[ $? != 0 ]];then logger "Do not install the ${compiler_type^^} repeatedly." ${TIP_COLOR_ECHO} return 1 -- Gitee