[Tests] Source nvm.sh before defining FILE
parent
f607f2f783
commit
b02617028f
|
@ -1,8 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
FILE="$NVM_DIR/default-packages"
|
|
||||||
\. ../../../nvm.sh
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
FILE="$NVM_DIR/default-packages"
|
||||||
|
|
||||||
die () { echo "$@" ; cleanup ; exit 1; }
|
die () { echo "$@" ; cleanup ; exit 1; }
|
||||||
setup () {
|
setup () {
|
||||||
if [ -f $FILE ]; then
|
if [ -f $FILE ]; then
|
||||||
|
|
Loading…
Reference in New Issue