Skip to content

Commit de1824f

Browse files
authored
[install] Support old uname in macOS (#4492)
1 parent 19a9296 commit de1824f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ download() {
164164
}
165165

166166
# Try to download binary executable
167-
archi=$(uname -smo)
167+
archi=$(uname -smo 2>/dev/null || uname -sm)
168168
binary_available=1
169169
binary_error=""
170170
case "$archi" in

0 commit comments

Comments
 (0)