Skip to content

Commit

Permalink
add ARCH overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zanggl committed Dec 20, 2023
1 parent 6c9cd2f commit 477353e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1923,6 +1923,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
Expand Down

0 comments on commit 477353e

Please sign in to comment.