Use repo dir for NVM_DIR so we don't mess with global nvm installations

This commit is contained in:
Luke Childs 2016-10-17 15:55:16 +01:00
parent 9c33f4d91c
commit bf24f56434
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
tests/.urchin.log
.nvm
previous_version

View File

@ -1,5 +1,6 @@
export test_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
export repo_dir="$test_dir/.."
export NVM_DIR="$repo_dir/.nvm"
die () {
echo $@