From 7f39ae29d58e0fb0a76c65c367508f7b047ad399 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 28 Jun 2008 00:13:29 +0200 Subject: bin/pkg: vcs_incoming: Grep with trailing space to avoid duplicates --- bin/pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/pkg b/bin/pkg index e0b7484..a16f01f 100755 --- a/bin/pkg +++ b/bin/pkg @@ -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 () { -- cgit v1.2.3