[Fix] nvm_get_arch: proper value for alpine linux

This commit is contained in:
Andrius Solopovas authored and Jordan Harband committed 2023-09-30 23:54:11 +01:00
1 parent b64e5474ea
commit ef7fc2f2c0
3 files changed
+139 -3

No files matched your search

+4
View File
@@ -1965,6 +1965,10 @@ nvm_get_arch() {
HOST_ARCH=armv7l
fi
if [ -f "/etc/alpine-release" ]; then
NVM_ARCH=x64-musl
fi
nvm_echo "${NVM_ARCH}"
}