Compare commits

...

2 Commits

Author SHA1 Message Date
Michael
d13e4e2afe
Merge 477353e1a48a64912b4e2dc2cce9c6784ed82ab5 into 1be4257e96c4f86a4c5c182b5229825ba39088d2 2024-11-03 23:20:47 +01:00
Michael Zanggl
477353e1a4 add ARCH overwrite 2023-12-20 15:40:28 +09:00

5
nvm.sh
View File

@ -2047,6 +2047,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