mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-04-03 19:44:52 +08:00
Alpine detection unconditionally set `x64-musl` regardless of actual architecture, which would be incorrect on ARM-based Alpine containers.
Bug introduced in ef7fc2f2c0 / #3212.
Fixes #3616.
6 lines
122 B
Plaintext
Executable File
6 lines
122 B
Plaintext
Executable File
if [ "_$1" = "_-m" ]; then
|
|
echo "x86_64"
|
|
else
|
|
echo "Linux hostname 5.15.0-1 #1 SMP x86_64 x86_64 x86_64 GNU/Linux"
|
|
fi
|