Fix handling of /var/db/pkg when it is a symbolic link. (Bug #179392)
authorfuzzyray <fuzzyray@gentoo.org>
Wed, 19 Sep 2007 21:22:07 +0000 (21:22 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Wed, 19 Sep 2007 21:22:07 +0000 (21:22 -0000)
svn path=/; revision=448

trunk/ChangeLog
trunk/src/revdep-rebuild/revdep-rebuild

index 8326a7815e02e0e1016ca6d65d949f7c515278f6..b38966486373e13932b60913fc745d26d0b950e3 100644 (file)
@@ -1,5 +1,7 @@
 2007-09-19: Paul Varner <fuzzyray@gentoo.org>
        * 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 <fuzzyray@gentoo.org>
        * equery: Apply patch from Carlo Marcelo Arenas Belon to fix incorrect
index 9d5f933b08df93a415d08f697b1959ea9822f304..40ccde7c37125b68b3f3dc62433474607621e58d 100755 (executable)
@@ -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:'
                }