summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2007-09-19 21:22:07 +0000
committerfuzzyray <fuzzyray@gentoo.org>2007-09-19 21:22:07 +0000
commit43542564dc7d656f386333cba5b8418786fa27e1 (patch)
tree3614083ce3ec432265cb3b8af53a879820d94785 /trunk/src
parentef6f84e233155004a5f0e40e877219502a5f204a (diff)
downloadgentoolkit-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-xtrunk/src/revdep-rebuild/revdep-rebuild2
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:'
}