diff options
author | Michael Allen <michael@michaelallen.io> | 2015-02-17 10:43:56 +0000 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-02-17 10:43:56 +0000 |
commit | 17f351cb3d9b577b99c641c3e01f2a504fdeb1e3 (patch) | |
tree | 12b481dfebf3c9fc4d201c51a14679fa8f5b3ff9 | |
parent | 17279c846cd8c12fa2e5db0b88914d58dbb47e35 (diff) | |
download | git-sonar-17f351cb3d9b577b99c641c3e01f2a504fdeb1e3.tar.gz git-sonar-17f351cb3d9b577b99c641c3e01f2a504fdeb1e3.zip |
apparent syntax error
-rwxr-xr-x | git-base.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |