mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Merge 477353e1a4
into 977563e97d
This commit is contained in:
commit
140da0c417
5
nvm.sh
5
nvm.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user