POSIX compatibility
parent
1f13f15620
commit
67f2ee82ca
4
nvm.sh
4
nvm.sh
|
@ -1024,8 +1024,8 @@ nvm_install_node_source() {
|
||||||
|
|
||||||
local NVM_ARCH
|
local NVM_ARCH
|
||||||
NVM_ARCH="$(nvm_get_arch)"
|
NVM_ARCH="$(nvm_get_arch)"
|
||||||
if [[ $NVM_ARCH = *"arm"* ]]; then
|
if [ $NVM_ARCH = "armv6l" ] || [ $NVM_ARCH = "armv7l" ]; then
|
||||||
ADDITIONAL_PARAMETERS+=" --without-snapshot"
|
ADDITIONAL_PARAMETERS="--without-snapshot $ADDITIONAL_PARAMETERS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$ADDITIONAL_PARAMETERS" ]; then
|
if [ -n "$ADDITIONAL_PARAMETERS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue