aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2010-04-28 14:53:44 +0000
committerfuzzyray <fuzzyray@gentoo.org>2010-04-28 14:53:44 +0000
commit40a177095ae03fc327471c6e26794b44b9ad91b4 (patch)
tree668e04ac3f884116d76bd5b1929849608c8506df /bin/revdep-rebuild
parenteuse: Make python code of euse python-3 compatible, thanks to Arfrever (diff)
downloadgentoolkit-40a177095ae03fc327471c6e26794b44b9ad91b4.tar.gz
gentoolkit-40a177095ae03fc327471c6e26794b44b9ad91b4.tar.bz2
gentoolkit-40a177095ae03fc327471c6e26794b44b9ad91b4.zip
Restore follow symlinks option (-L) to the find /var/db/pkg command so that revdep-rebuild works even when /var/db/pkg is a symlink. (Bug #317571)
svn path=/trunk/gentoolkit/; revision=777
Diffstat (limited to 'bin/revdep-rebuild')
-rwxr-xr-xbin/revdep-rebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/revdep-rebuild b/bin/revdep-rebuild
index b62dc61..80e791f 100755
--- a/bin/revdep-rebuild
+++ b/bin/revdep-rebuild
@@ -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:'
}