mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-04 09:05:59 +08:00
fix: reconstruct the script of 'make start' 'make stop' and 'make check' (#1953)
* fix: del the error world * fix: refactoring scripts * fix: del nounset * rm set error * rm set error * replace openim::log::info * replace openim::log::info * replace openim::log::info * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * fix: fix the error output format * log * fix: fix the error * log * log * fix: fi the code error * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * log * fix: use printf replace the echo --------- Co-authored-by: skiffer-git <44203734@qq.com>
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
|
||||
|
||||
# Common utilities, variables and checks for all build scripts.
|
||||
set -o errexit
|
||||
set +o nounset
|
||||
set -o pipefail
|
||||
|
||||
|
||||
|
||||
|
||||
# Sourced flag
|
||||
COMMON_SOURCED=true
|
||||
@@ -99,6 +99,22 @@ IFS=" " read -ra OPENIM_SERVER_PORT_TARGETS <<< "$(openim::common::service_port)
|
||||
readonly OPENIM_SERVER_PORT_TARGETS
|
||||
readonly OPENIM_SERVER_PORT_LISTARIES=("${OPENIM_SERVER_PORT_TARGETS[@]##*/}")
|
||||
|
||||
|
||||
OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER=()
|
||||
|
||||
for target in "${OPENIM_SERVER_BINARIES_NO_TRANSFER[@]}"; do
|
||||
OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER+=("${OPENIM_OUTPUT_HOSTBIN}/${target}")
|
||||
done
|
||||
readonly OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER
|
||||
|
||||
|
||||
|
||||
OPENIM_ALL_SERVICE_LIBRARIES=()
|
||||
for target in "${OPENIM_SERVER_BINARIES_NO_CMDUTILS[@]}"; do
|
||||
OPENIM_ALL_SERVICE_LIBRARIES+=("${OPENIM_OUTPUT_HOSTBIN}/${target}")
|
||||
done
|
||||
readonly OPENIM_ALL_SERVICE_LIBRARIES
|
||||
|
||||
openim::common::dependency_name() {
|
||||
local targets=(
|
||||
redis
|
||||
|
||||
Reference in New Issue
Block a user