From d0196b38a25e2397ebc133b486f6212a1bef4172 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 2 Apr 2024 12:15:58 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/{check-all.sh => check.sh} | 3 ++- scripts-new/lib/util.sh | 31 ++++++++++++++++++++++++++ scripts-new/start.sh | 31 ++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) rename scripts-new/{check-all.sh => check.sh} (97%) diff --git a/scripts-new/check-all.sh b/scripts-new/check.sh similarity index 97% rename from scripts-new/check-all.sh rename to scripts-new/check.sh index b374afa4e..ad3859ad9 100644 --- a/scripts-new/check-all.sh +++ b/scripts-new/check.sh @@ -43,12 +43,13 @@ for binary in "${!binaries[@]}"; do fi done + + for binary in "${!binaries[@]}"; do expected_count=${binaries[$binary]} base_path=$(get_bin_full_path "$binary") for ((i=0; i