From c54822ad1e394c7651a167f8ea87349aa04d0f77 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 23 Jun 2008 21:32:04 +0200 Subject: bin/pkg: Use normal && stuff again --- bin/pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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 () { -- cgit v1.2.3