From 16df102489f0860751d54dd3a2e48e661658a5b8 Mon Sep 17 00:00:00 2001 From: btidwell Date: Fri, 11 Nov 2016 12:41:20 -0600 Subject: [PATCH] Add spaces to bash command --- tools/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.sh b/tools/install.sh index 104a6e63..c0023e8c 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -62,7 +62,7 @@ main() { fi fi # if running from the git repo use git's origin - [-d .git]&& env git clone --depth=1 origin master || env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || { + [ -d .git ]&& env git clone --depth=1 origin master || env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || { printf "Error: git clone of oh-my-zsh repo failed\n" exit 1 }