diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-23 21:32:04 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-23 21:32:04 +0200 |
commit | c54822ad1e394c7651a167f8ea87349aa04d0f77 (patch) | |
tree | 1811cf93beb8d88ca9f388ca99ce8356d2ecc1c2 /bin | |
parent | 868d5df2610ba86038724222b4d67b6f6aae6244 (diff) |
bin/pkg: Use normal && stuff again
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 () { |