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

The tests for nvm install currently install v0.8.6, which doesn't build on FreeBSD due to Linuxisms. Switch to a more recent version that does work.
17 lines
253 B
Bash
Executable File
17 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
. ../../nvm.sh
|
|
|
|
VERSION=v0.10.26
|
|
|
|
# Remove the stuff we're clobbering.
|
|
[ -e ../../$VERSION ] && rm -R ../../$VERSION
|
|
|
|
# Install from binary
|
|
nvm install $VERSION
|
|
|
|
# Check
|
|
[ -d ../../$VERSION ]
|
|
nvm run $VERSION --version | grep $VERSION
|