Merge 477353e1a48a64912b4e2dc2cce9c6784ed82ab5 into 1aab8b2d5aa2b2de1e6931362ef26646413be851

This commit is contained in:
Michael 2025-06-23 23:51:39 +00:00 committed by GitHub
commit 244947580f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

5
nvm.sh
View File

@ -2073,6 +2073,11 @@ nvm_get_arch() {
local EXIT_CODE
local LONG_BIT
if [ -n "$NVM_NODEJS_ORG_ARCH" ]; then
nvm_echo "${NVM_NODEJS_ORG_ARCH}"
return
fi
NVM_OS="$(nvm_get_os)"
# If the OS is SunOS, first try to use pkgsrc to guess
# the most appropriate arch. If it's not available, use