Skip to content

Commit 37a76e0

Browse files
committed
[update] : Show module path on debug message
1 parent 621ec6b commit 37a76e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ prepare_build() {
428428

429429
# Check modules
430430
module_check(){
431-
msg_debug "Checking ${1} module ..."
432-
bash "${tools_dir}/module.sh" check "${1}" || msg_error "Module ${1} is not available." "1";
431+
msg_debug -n "Checking ${1} module ... "
432+
bash "${tools_dir}/module.sh" check "${1}" || msg_error "Module ${1} is not available." "1" && echo "${module_dir}/${1}"
433433
}
434434
readarray -t modules < <(printf "%s\n" "${modules[@]}" | awk '!a[$0]++')
435435
for_module "module_check {}"

0 commit comments

Comments
 (0)