diff --git a/script/step/build_and_wait.sh b/script/step/build_and_wait.sh index f7c16a86210ba1c093d854ec9aa9c92c9e0b6147..a267f7e9f6beb06899243b462e1192373d0182cb 100644 --- a/script/step/build_and_wait.sh +++ b/script/step/build_and_wait.sh @@ -43,6 +43,6 @@ function build_and_wait() if [ "${result}" -ne 0 ]; then log_error "Failed on obs_build" else - log_info "Suessessful on obs_build" + log_info "Successful on obs_build" fi } diff --git a/script/tools/hotpatch_update.sh b/script/tools/hotpatch_update.sh index c92b87a2c2786781ecdb3b9a4e7ab996f297eb05..fe7c8634a7db2f8eb71f811889cceb412cf7bdf8 100755 --- a/script/tools/hotpatch_update.sh +++ b/script/tools/hotpatch_update.sh @@ -2,7 +2,7 @@ # -------------------------------------------------------------------------------------------------------------------- # Author: # Copyright Huawei Technologies Co., Ltd. 2010-2018. All rights reserved. -# Decription: Create an UPDATE directory to add, delete, update, check and publish package binaries +# Description: Create an UPDATE directory to add, delete, update, check and publish package binaries # -------------------------------------------------------------------------------------------------------------------- diff --git a/script/tools/sshcmd.sh b/script/tools/sshcmd.sh index af7c597be74bc23d01a318cc967bb05ffa05c103..85c170e039fee2699159bdc7128b55798953eed6 100644 --- a/script/tools/sshcmd.sh +++ b/script/tools/sshcmd.sh @@ -9,7 +9,7 @@ loginpassword="" ###################### -# funcntion description: sshcmd cmd testmathineip [password] [user] +# function description: sshcmd cmd testmathineip [password] [user] # Globals: # Arguments:user:root password:default huawei # Returns:13: it means can not connect the mathine or password is wrong @@ -57,7 +57,7 @@ function sshcmd_comm() send "yes\r" } - ## already has public key in ~/.ssh/known_hots + ## already has public key in ~/.ssh/known_hosts -re "\[P|p]assword:" { send "${password}\r" } @@ -68,7 +68,7 @@ function sshcmd_comm() exit 13 } - ## Do not need input password. Becauese of ssh + ## Do not need input password. Because of ssh eof { catch wait result #send_user [lindex \${result} 3] @@ -152,7 +152,7 @@ function delete_known_hosts() } ###################### -# display uasge +# display usage # Globals: # Arguments: # Returns: