From c3dea704429573a077aad5472ccacfcab95f14ba Mon Sep 17 00:00:00 2001 From: Xinwei Xiong <3293172751NSS@gmail.com> Date: Tue, 23 Jan 2024 14:33:53 +0800 Subject: [PATCH] update check_all.sh fix mac check scripts (#393) --- scripts/check_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_all.sh b/scripts/check_all.sh index 32626c677..4cab6d8aa 100755 --- a/scripts/check_all.sh +++ b/scripts/check_all.sh @@ -62,7 +62,7 @@ extract_yaml_value() { ;; "Darwin") # Use sed for macOS - sed -nE "/openImAdminApiPort: \[ */{s///; s/\].*//; p;}" "./config/config.yaml" | tr -d '[]' | xargs + sed -nE "/${key}: \[ */{s///; s/\].*//; p;}" "$config_yaml" | tr -d '[]' | xargs ;; *) echo "Unsupported operating system"