Merge 477353e1a48a64912b4e2dc2cce9c6784ed82ab5 into e597bb208efe942f30139df88b5ef74e78c15925

This commit is contained in:
Michael 2024-06-10 23:31:17 +00:00 committed by GitHub
commit 91bbb079ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

5
nvm.sh
View File

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