aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vcs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/vcs b/bin/vcs
index a1731ed..95a597a 100755
--- a/bin/vcs
+++ b/bin/vcs
@@ -13,7 +13,7 @@ cvs
guess_type() {
- if [ -e "$1"/.git ] || ([ -n "${GIT_DIR:-}" ] && [ -n "$GIT_WORK_TREE" ]); then
+ if [ -e "$1"/.git ] || { [ -n "${GIT_DIR:-}" ] && [ -n "$GIT_WORK_TREE" ]; }; then
echo git
elif [ -e "$1"/.hg ]; then
echo mercurial