mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-09 20:19:15 +00:00
[install script] Use $HOME
variable in NVM_DIR
This commit is contained in:

committed by
Jordan Harband

parent
f1a5f2a15f
commit
1b2305232f
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user