mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-24 18:44:50 +00:00
[Fix] install.sh
: only un-interpolate $HOME for the profile source string.
Fixes #1384.
This commit is contained in:
@@ -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