summaryrefslogtreecommitdiffstats
path: root/radar-base.sh
diff options
context:
space:
mode:
authorcrf204 <crf204@gmail.com>2016-12-04 18:53:32 -0500
committerMichael Allen <michael@michaelallen.io>2017-01-08 20:41:58 +0000
commit2ac25e3d1047cdf19f15bc894ff39449b83d65d4 (patch)
tree0a9a377ec3cca884263d6186244c09bfb98bad9a /radar-base.sh
parentfe17db8cda09f40768ed35f462b787e02db5e674 (diff)
downloadgit-sonar-2ac25e3d1047cdf19f15bc894ff39449b83d65d4.tar.gz
git-sonar-2ac25e3d1047cdf19f15bc894ff39449b83d65d4.zip
fix for basename: extra operand warning
Diffstat (limited to 'radar-base.sh')
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index a9e3a7f..61503fd 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -537,7 +537,7 @@ stashed_status() {
}
is_cwd_a_dot_git_directory() {
- [[ "$(basename $PWD)" == ".git" ]]; return $?
+ [[ "$(basename "$PWD")" == ".git" ]]; return $?
}
stash_status() {