summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index c25d503..ae42f60 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -129,8 +129,8 @@ vcs_add () {
vcs_incoming () {
# [ -d .vcs ] && vcs incoming will not work here, since the [] will return
# something. We need the return value of vcs.
- if ([ -d .hg ]) {hg --quiet incoming; return}
- if ([ -d .git ]) {false ; return}
+ [ -d .hg ] && {hg --quiet incoming; return}
+ [ -d .git ] && {false ; return}
}
vcs_update () {