summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2016-02-03 11:05:31 +0000
committerMichael Allen <michael@michaelallen.io>2016-02-03 11:05:31 +0000
commitc67d6bcd88c9073bc072af1cb13d7bfa85cbbbb0 (patch)
treef60b863f31b0620c6a974df2969047f5401533c7
parent7c5fbb877bf27b20aae3eae1f0eaf668274a8a02 (diff)
downloadgit-sonar-c67d6bcd88c9073bc072af1cb13d7bfa85cbbbb0.tar.gz
git-sonar-c67d6bcd88c9073bc072af1cb13d7bfa85cbbbb0.zip
Fix '= not found' issue
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
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() {