Restore follow symlinks option (-L) to the find /var/db/pkg command so that revdep...
authorfuzzyray <fuzzyray@gentoo.org>
Wed, 28 Apr 2010 14:53:44 +0000 (14:53 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Wed, 28 Apr 2010 14:53:44 +0000 (14:53 -0000)
svn path=/trunk/gentoolkit/; revision=777

bin/revdep-rebuild

index b62dc61e8738d88be0d42b47c6a662c477014653..80e791fc0bc0859f0ff68169f1cf293359dc135d 100755 (executable)
@@ -285,7 +285,7 @@ get_file_owner() {
        # Add a space to the end of each object name to prevent false
        # matches, for example /usr/bin/dia matching /usr/bin/dialog (bug #196460).
        # The same for "${rpath} ".
-       find /var/db/pkg -type f -name CONTENTS -print0 |
+       find -L /var/db/pkg -type f -name CONTENTS -print0 |
                xargs -0 grep -m 1 -Fl -e "${*} " -e "${rpath} " -e "${mlib} " |
                sed 's:/var/db/pkg/\(.*\)/CONTENTS:\1:'
 }