Skip to content

Commit 773da5b

Browse files
committed
[fix] : Fixed undefined variables
1 parent 4e4e13d commit 773da5b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tools/fullbuild.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ msg_common(){
3131
local _msg_opts=("-a" "fullbuild" "-s" "5") _type="${1}"
3232
shift 1
3333
[[ "${1}" = "-n" ]] && _msg_opts+=("-o" "-n") && shift 1
34-
[[ "${msgdebug}" = true ]] && _msg_opts+=("-x")
3534
[[ "${nocolor}" = true ]] && _msg_opts+=("-n")
3635
_msg_opts+=("${_type}" "${@}")
3736
"${script_path}/tools/msg.sh" "${_msg_opts[@]}"
@@ -45,13 +44,6 @@ msg_info() { msg_common info "${@}"; }
4544
# ${1}: message string
4645
msg_warn() { msg_common warn "${@}"; }
4746

48-
# Show an debug message
49-
# ${1}: message string
50-
msg_debug() {
51-
[[ "${debug}" = true ]] && msg_common debug "${@}"
52-
return 0
53-
}
54-
5547
# Show an ERROR message then exit with status
5648
# ${1}: message string
5749
# ${2}: exit code number (with 0 does not exit)

0 commit comments

Comments
 (0)