diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-28 00:13:29 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-28 00:13:29 +0200 |
commit | 7f39ae29d58e0fb0a76c65c367508f7b047ad399 (patch) | |
tree | 70b0c8d94a143cdd16fc6a6fa829138bb74cb5bc | |
parent | 57d672a7a1f719ab414e292f2186e82aa4778ce3 (diff) |
bin/pkg: vcs_incoming: Grep with trailing space to avoid duplicates
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -127,8 +127,8 @@ vcs_add () { } vcs_incoming () { - [ "$(grep ^"$1" $PDIR/.list | cut -d ' ' -f 3)" \ - != "$(grep ^"$1" $PDIR/.list-remote | cut -d ' ' -f 3)" ] + [ "$(grep ^"$1 " $PDIR/.list | cut -d ' ' -f 3)" \ + != "$(grep ^"$1 " $PDIR/.list-remote | cut -d ' ' -f 3)" ] } vcs_log () { |