From 3ae5c9dca13f3f094069e4596e82563e0ee9b8b1 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Wed, 1 Dec 2021 13:35:28 +0800 Subject: [PATCH] demo merge into project --- script/check_all.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/check_all.sh b/script/check_all.sh index 6b3e1e8b7..d4c467eab 100644 --- a/script/check_all.sh +++ b/script/check_all.sh @@ -18,8 +18,10 @@ service_port_name=( ) switch=$(cat $config_path | grep demoswitch |awk -F '[:]' '{print $NF}') for i in ${service_port_name[*]}; do - if [[ ${switch} -ne true ]]&&[$i -eq openImDemoPort]; then - continue + if [[ ${switch} -ne true ]]; then + if [ $i -eq openImDemoPort]; then + continue + fi fi list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}') list_to_string $list