diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2007-09-19 21:22:07 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2007-09-19 21:22:07 +0000 |
| commit | 43542564dc7d656f386333cba5b8418786fa27e1 (patch) | |
| tree | 3614083ce3ec432265cb3b8af53a879820d94785 /trunk/src | |
| parent | ef6f84e233155004a5f0e40e877219502a5f204a (diff) | |
| download | gentoolkit-43542564dc7d656f386333cba5b8418786fa27e1.tar.gz | |
Fix handling of /var/db/pkg when it is a symbolic link. (Bug #179392)
svn path=/; revision=448
Diffstat (limited to 'trunk/src')
| -rwxr-xr-x | trunk/src/revdep-rebuild/revdep-rebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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:' } |
