[Tests] use $NVM_DIR instead of relative paths

This commit is contained in:
Jordan Harband
2016-06-26 15:52:26 -07:00
parent ce60b6c44a
commit 73aa35f508
27 changed files with 137 additions and 151 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/sh
mkdir ../../../v0.0.2
mkdir ../../../v0.0.20
. ../../../nvm.sh
mkdir "${NVM_DIR}/v0.0.2"
mkdir "${NVM_DIR}/v0.0.20"
die () { echo $@ ; exit 1; }
# The result should contain only the appropriate version numbers.