From 43542564dc7d656f386333cba5b8418786fa27e1 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Wed, 19 Sep 2007 21:22:07 +0000 Subject: [PATCH] Fix handling of /var/db/pkg when it is a symbolic link. (Bug #179392) svn path=/; revision=448 --- trunk/ChangeLog | 2 ++ trunk/src/revdep-rebuild/revdep-rebuild | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 8326a78..b389664 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,5 +1,7 @@ 2007-09-19: Paul Varner * epkginfo: Fix handling of KEYWORDS="" in an ebuild. (Bug #193108) + * revdep-rebuild: Fix handling of /var/db/pkg when it is a symbolic + link. (Bug #179392) 2007-09-18: Paul Varner * equery: Apply patch from Carlo Marcelo Arenas Belon to fix incorrect diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild index 9d5f933..40ccde7 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild +++ b/trunk/src/revdep-rebuild/revdep-rebuild @@ -276,7 +276,7 @@ get_args() { else get_file_owner() { local IFS=$'\n' - find /var/db/pkg -name CONTENTS -print0 | + find -L /var/db/pkg -name CONTENTS -print0 | xargs -0 grep -Fl "$*" | sed 's:/var/db/pkg/\(.*\)/CONTENTS:\1:' } -- 2.26.2