From 17f351cb3d9b577b99c641c3e01f2a504fdeb1e3 Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Tue, 17 Feb 2015 10:43:56 +0000 Subject: apparent syntax error --- git-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-base.sh') diff --git a/git-base.sh b/git-base.sh index 951ec58..d2262d4 100755 --- a/git-base.sh +++ b/git-base.sh @@ -22,7 +22,7 @@ debug_print() { } dot_git() { - if [[ in_current_dir && -n "$dot_git" ]]; then + if in_current_dir && [[ -n "$dot_git" ]]; then # cache dot_git to save calls to rev-parse echo $dot_git elif [ -d .git ]; then -- cgit v1.2.3