From bce3abaa4bc0c060cf747db8459beab1a6195258 Mon Sep 17 00:00:00 2001 From: Koen Punt Date: Fri, 14 Mar 2014 22:41:43 +0100 Subject: [PATCH] use comparison opts --- install-gitless.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-gitless.sh b/install-gitless.sh index c24d25b..53d40a2 100755 --- a/install-gitless.sh +++ b/install-gitless.sh @@ -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