mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 05:12:10 +08:00
Script Refactoring
This commit is contained in:
parent
9918d71064
commit
c868db2bbc
@ -46,9 +46,9 @@ done
|
|||||||
for binary in "${!binaries[@]}"; do
|
for binary in "${!binaries[@]}"; do
|
||||||
expected_count=${binaries[$binary]}
|
expected_count=${binaries[$binary]}
|
||||||
base_path=$(get_bin_full_path "$binary")
|
base_path=$(get_bin_full_path "$binary")
|
||||||
|
|
||||||
for ((i=0; i<expected_count; i++)); do
|
for ((i=0; i<expected_count; i++)); do
|
||||||
full_path="${base_path} -i ${i} -c $OPENIM_OUTPUT_CONFIG"
|
full_path="${base_path} -i ${i} -c $OPENIM_OUTPUT_CONFIG"
|
||||||
|
echo "full-path: " $full_path
|
||||||
check_binary_ports "$full_path"
|
check_binary_ports "$full_path"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user