From c67d6bcd88c9073bc072af1cb13d7bfa85cbbbb0 Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Wed, 3 Feb 2016 11:05:31 +0000 Subject: Fix '= not found' issue --- radar-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radar-base.sh b/radar-base.sh index f690f24..a9e3a7f 100755 --- a/radar-base.sh +++ b/radar-base.sh @@ -537,7 +537,7 @@ stashed_status() { } is_cwd_a_dot_git_directory() { - test "$(basename $PWD)" == ".git"; return $? + [[ "$(basename $PWD)" == ".git" ]]; return $? } stash_status() { -- cgit v1.2.3