OSDN Git Service

[update] : Show module path on debug message
authorhayao <hayao@fascode.net>
Thu, 9 Sep 2021 03:26:29 +0000 (12:26 +0900)
committerhayao <hayao@fascode.net>
Thu, 9 Sep 2021 03:26:29 +0000 (12:26 +0900)
build.sh

index ff388aa..479cee4 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -428,8 +428,8 @@ prepare_build() {
 
     # Check modules
     module_check(){
-        msg_debug "Checking ${1} module ..."
-        bash "${tools_dir}/module.sh" check "${1}" || msg_error "Module ${1} is not available." "1";
+        msg_debug -n "Checking ${1} module ... "
+        bash "${tools_dir}/module.sh" check "${1}" || msg_error "Module ${1} is not available." "1" && echo "${module_dir}/${1}"
     }
     readarray -t modules < <(printf "%s\n" "${modules[@]}" | awk '!a[$0]++')
     for_module "module_check {}"