Skip to content

Commit 267bd30

Browse files
authored
Fix hardcoded path for uname utility in install.sh script (#1240)
1 parent 3001264 commit 267bd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fi
7676

7777
if [[ -n "${CLI_ON_LINUX-}" ]]
7878
then
79-
UNAME_MACHINE="$(/usr/bin/uname -m)"
79+
UNAME_MACHINE="$(uname -m)"
8080
if [[ "${UNAME_MACHINE}" == "arm64" || "${UNAME_MACHINE}" == "aarch64" ]]
8181
then
8282
curl -O -fsSL https://aliyuncli.alicdn.com/aliyun-cli-linux-"$VERSION"-arm64.tgz

0 commit comments

Comments
 (0)