Skip to content

Commit

Permalink
feat: update get-higress.sh (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
CH3CHO authored Aug 29, 2023
1 parent 2b9e3a1 commit 8747e1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/get-higress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ outputUsage() {
echo '
-c, --config-url=URL URL of the config storage
Use Nacos with format: nacos://192.168.0.1:8848
Use local files with format: file://opt/higress/conf
Use local files with format: file:///opt/higress/conf
--use-builtin-nacos use the built-in Nacos service instead of
an external one
--nacos-ns=NACOS-NAMESPACE
Expand Down Expand Up @@ -143,7 +143,7 @@ runAsRoot() {
# verifySupported checks that the os/arch combination is supported for
# binary builds, as well whether or not necessary tools are present.
verifySupported() {
local supported="darwin-amd64\nlinux-amd64\nwindows-amd64\n"
local supported="darwin-amd64\nlinux-amd64\nwindows-amd64\ndarwin-arm64\nlinux-arm64\nwindows-arm64\n"
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
echo "${OS}-${ARCH} platform isn't supported at the moment."
echo "Stay tuned for updates on https://github.com/alibaba/higress."
Expand Down Expand Up @@ -191,7 +191,7 @@ download() {

# install installs the product.
install() {
tar -zx --exclude="docs" --exclude="src" -f "$HIGRESS_TMP_FILE" -C "$DESTINATION" --strip-components=1
tar -zx --exclude="docs" --exclude="src" --exclude="test" -f "$HIGRESS_TMP_FILE" -C "$DESTINATION" --strip-components=1
bash "$DESTINATION/bin/configure.sh" --auto-start ${CONFIG_ARGS[@]}
}

Expand Down

0 comments on commit 8747e1d

Please sign in to comment.