diff options
author | Michael Allen <michael@michaelallen.io> | 2016-02-03 11:05:31 +0000 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2016-02-03 11:05:31 +0000 |
commit | c67d6bcd88c9073bc072af1cb13d7bfa85cbbbb0 (patch) | |
tree | f60b863f31b0620c6a974df2969047f5401533c7 | |
parent | 7c5fbb877bf27b20aae3eae1f0eaf668274a8a02 (diff) | |
download | git-sonar-c67d6bcd88c9073bc072af1cb13d7bfa85cbbbb0.tar.gz git-sonar-c67d6bcd88c9073bc072af1cb13d7bfa85cbbbb0.zip |
Fix '= not found' issue
-rwxr-xr-x | radar-base.sh | 2 |
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() { |