diff options
Diffstat (limited to '')
-rw-r--r-- | src/cli/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/install.sh b/src/cli/install.sh index 9218c51ad..c8a6be426 100644 --- a/src/cli/install.sh +++ b/src/cli/install.sh @@ -83,7 +83,7 @@ github_repo="https://github.com/oven-sh/bun" if [[ $target = darwin-x64 ]]; then # If AVX2 isn't supported, use the -baseline build - if [[ $(sysctl -n machdep.cpu.features) != *avx2* ]]; then + if [[ $(sysctl -a | grep machdep.cpu | grep AVX2) == '' ]]; then target=darwin-x64-baseline fi fi |