mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
use comparison opts
This commit is contained in:
parent
9f6280265a
commit
bce3abaa4b
@ -6,11 +6,11 @@ fatalExit (){
|
|||||||
echo "$@" && exit 1;
|
echo "$@" && exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! "$NVM_SOURCE" ]; then
|
if [ -z "$NVM_SOURCE" ]; then
|
||||||
NVM_SOURCE="https://raw.github.com/creationix/nvm/master/nvm.sh"
|
NVM_SOURCE="https://raw.github.com/creationix/nvm/master/nvm.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! "$NVM_DIR" ]; then
|
if [ -z "$NVM_DIR" ]; then
|
||||||
NVM_DIR="$HOME/.nvm"
|
NVM_DIR="$HOME/.nvm"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user