mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-20 04:23:43 +00:00
Merge 477353e1a48a64912b4e2dc2cce9c6784ed82ab5 into 5dc31ac51b08f910a2de1596b37a6a3dddd5e7b7
This commit is contained in:
commit
11991eec8c
5
nvm.sh
5
nvm.sh
@ -2046,6 +2046,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…
x
Reference in New Issue
Block a user