mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +00:00
👌🏻 Use macOS uname syntax
This commit is contained in:
parent
3d54be18ad
commit
799c18e327
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ ROOT_URL="https://dl.bintray.com/phatblat/mas-bottles"
|
|||
# Supports macOS versions 11.0 (arm64 & x86_64), 10.15, 10.14, 10.13, 10.12, 10.11
|
||||
OS_VERSIONS=(arm64_big_sur big_sur catalina mojave high_sierra sierra el_capitan)
|
||||
|
||||
if [[ "x86_64" == "$(uname --machine)" ]]; then
|
||||
if [[ "x86_64" == "$(uname -m)" ]]; then
|
||||
CURRENT_PLATFORM=big_sur
|
||||
else
|
||||
CURRENT_PLATFORM=arm64_big_sur
|
||||
|
|
Loading…
Reference in a new issue