mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-17 07:19:02 +08:00
feat: add scripts and fix
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
@@ -28,16 +28,16 @@ declare -A supported_architectures=(
|
||||
|
||||
# Check if the architecture and version are supported
|
||||
if [[ -z ${supported_architectures["$version-$architecture"]} ]]; then
|
||||
echo "================> Unsupported architecture: $architecture or version: $version"
|
||||
echo -e "${BLUE_PREFIX}================> Unsupported architecture: $architecture or version: $version${COLOR_SUFFIX}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "================> Architecture: $architecture"
|
||||
echo -e "${BLUE_PREFIX}================> Architecture: $architecture${COLOR_SUFFIX}"
|
||||
|
||||
# Set the BIN_DIR based on the architecture and version
|
||||
BIN_DIR=${supported_architectures["$version-$architecture"]}
|
||||
|
||||
echo "================> BIN_DIR: $OPENIM_ROOT/$BIN_DIR"
|
||||
echo -e "${BLUE_PREFIX}================> BIN_DIR: $OPENIM_ROOT/$BIN_DIR${COLOR_SUFFIX}"
|
||||
|
||||
# Don't put the space between "="
|
||||
openim_msggateway="openim-msggateway"
|
||||
|
||||
Reference in New Issue
Block a user