[Fix] fix node download link for armv8l

Fixes #3035
Deniz 2023-04-29 16:41:31 -07:00 committed by Jordan Harband
parent 70aa611abc
commit 5410ae57ba
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
3 changed files with 7 additions and 1 deletions

2
nvm.sh
View File

@ -1913,7 +1913,7 @@ nvm_get_arch() {
case "${HOST_ARCH}" in
x86_64 | amd64) NVM_ARCH="x64" ;;
i*86) NVM_ARCH="x86" ;;
aarch64) NVM_ARCH="arm64" ;;
aarch64 | armv8l) NVM_ARCH="arm64" ;;
*) NVM_ARCH="${HOST_ARCH}" ;;
esac

View File

@ -80,5 +80,6 @@ run_test x86 osx x86
run_test amd64 osx x64
run_test arm64 smartos x64
run_test armv8l smartos x64
cleanup

View File

@ -0,0 +1,5 @@
if [ "_$1" = "_-m" ]; then
echo "armv8l"
else
echo "Linux 3.18.14-14721103 #1 SMP PREEMPT Thu Mar 5 20:35:37 KST 2020 armv8l armv8l armv8l GNU/Linux"
fi