From ace6ef00298fea653f7277a98778278bd0cae6c4 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Wed, 1 Dec 2021 13:14:17 +0800 Subject: [PATCH] demo merge into project --- script/check_all.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/check_all.sh b/script/check_all.sh index ce65c9533..6b3e1e8b7 100644 --- a/script/check_all.sh +++ b/script/check_all.sh @@ -16,7 +16,11 @@ service_port_name=( openImSdkWsPort openImDemoPort ) +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 + fi list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}') list_to_string $list for j in ${ports_array}; do