[install script] Use $HOME variable in NVM_DIR

This commit is contained in:
Ryan Wheale
2017-01-12 10:55:56 -07:00
committed by Jordan Harband
parent f1a5f2a15f
commit 1b2305232f
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ unset NVM_DIR
# NVM_DIR is not set
install_dir=$(nvm_install_dir)
[ "_$install_dir" = "_$HOME/.nvm" ] || die "nvm_install_dir should default to \$HOME/.nvm. Current output: $install_dir"
[ "_$install_dir" = "_\$HOME/.nvm" ] || die "nvm_install_dir should default to \$HOME/.nvm. Current output: $install_dir"
cleanup