projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a539fd
)
Restore follow symlinks option (-L) to the find /var/db/pkg command so that revdep...
author
fuzzyray
<fuzzyray@gentoo.org>
Wed, 28 Apr 2010 14:53:44 +0000
(14:53 -0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Wed, 28 Apr 2010 14:53:44 +0000
(14:53 -0000)
svn path=/trunk/gentoolkit/; revision=777
bin/revdep-rebuild
patch
|
blob
|
history
diff --git
a/bin/revdep-rebuild
b/bin/revdep-rebuild
index b62dc61e8738d88be0d42b47c6a662c477014653..80e791fc0bc0859f0ff68169f1cf293359dc135d 100755
(executable)
--- 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:'
}