use comparison opts

master
Koen Punt 2014-03-14 22:41:43 +01:00
parent 9f6280265a
commit bce3abaa4b
1 changed files with 2 additions and 2 deletions

View File

@ -6,11 +6,11 @@ fatalExit (){
echo "$@" && exit 1;
}
if [ ! "$NVM_SOURCE" ]; then
if [ -z "$NVM_SOURCE" ]; then
NVM_SOURCE="https://raw.github.com/creationix/nvm/master/nvm.sh"
fi
if [ ! "$NVM_DIR" ]; then
if [ -z "$NVM_DIR" ]; then
NVM_DIR="$HOME/.nvm"
fi