From: hayao Date: Wed, 7 Oct 2020 09:51:26 +0000 (+0900) Subject: [fix] : script name X-Git-Tag: rc3-alpha1~135 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7d7c0ec8c3c4fd9a82e732c327b148df44f8386e;p=alterlinux%2Falterlinux.git [fix] : script name --- diff --git a/allarch.sh b/allarch.sh index 9bcaa79b..57ff1160 100755 --- a/allarch.sh +++ b/allarch.sh @@ -41,7 +41,7 @@ umask 0022 # Show an INFO message # $1: message string msg_info() { - local _msg_opts="-a build.sh" + local _msg_opts="-a allarch.sh" [[ "${msgdebug}" = true ]] && _msg_opts="${_msg_opts} -x" [[ "${nocolor}" = true ]] && _msg_opts="${_msg_opts} -n" "${script_path}/tools/msg.sh" ${_msg_opts} info "${@}" @@ -50,7 +50,7 @@ msg_info() { # Show an Warning message # $1: message string msg_warn() { - local _msg_opts="-a build.sh" + local _msg_opts="-a allarch.sh" [[ "${msgdebug}" = true ]] && _msg_opts="${_msg_opts} -x" [[ "${nocolor}" = true ]] && _msg_opts="${_msg_opts} -n" "${script_path}/tools/msg.sh" ${_msg_opts} warn "${@}" @@ -60,7 +60,7 @@ msg_warn() { # $1: message string msg_debug() { if [[ "${debug}" = true ]]; then - local _msg_opts="-a build.sh" + local _msg_opts="-a allarch.sh" [[ "${msgdebug}" = true ]] && _msg_opts="${_msg_opts} -x" [[ "${nocolor}" = true ]] && _msg_opts="${_msg_opts} -n" "${script_path}/tools/msg.sh" ${_msg_opts} debug "${@}" @@ -71,7 +71,7 @@ msg_debug() { # $1: message string # $2: exit code number (with 0 does not exit) msg_error() { - local _msg_opts="-a build.sh" + local _msg_opts="-a allarch.sh" [[ "${msgdebug}" = true ]] && _msg_opts="${_msg_opts} -x" [[ "${nocolor}" = true ]] && _msg_opts="${_msg_opts} -n" "${script_path}/tools/msg.sh" ${_msg_opts} error "${1}"