summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-23 21:32:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-23 21:32:04 +0200
commitc54822ad1e394c7651a167f8ea87349aa04d0f77 (patch)
tree1811cf93beb8d88ca9f388ca99ce8356d2ecc1c2 /bin/pkg
parent868d5df2610ba86038724222b4d67b6f6aae6244 (diff)
bin/pkg: Use normal && stuff again
Diffstat (limited to 'bin/pkg')
-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 () {