mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00

On SmartOS setups using 64 bits pkgsrc repositories, `nvm_get_arch` would not handle pkg_info's output properly. This would result in nvm not being to install any node binary when running on SmartOS setups using a 64 bits pkgsrc repository. This change fixes this problem, and fixes the tests suite on similar setups.
5 lines
153 B
Plaintext
Executable File
5 lines
153 B
Plaintext
Executable File
# On SmartOS 64bits setups, pkg_info outputs _both_ i386 and x86_64
|
|
# architectures as architectures supported by pkg_install.
|
|
echo "i386"
|
|
echo "x86_64"
|