projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6322e07
)
Fix regular expression in elf_broken to work with ldd from linux
author
fuzzyray
<fuzzyray@gentoo.org>
Mon, 22 Oct 2007 16:54:31 +0000
(16:54 -0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Mon, 22 Oct 2007 16:54:31 +0000
(16:54 -0000)
svn path=/; revision=455
trunk/src/revdep-rebuild/revdep-rebuild-sh
patch
|
blob
|
history
diff --git
a/trunk/src/revdep-rebuild/revdep-rebuild-sh
b/trunk/src/revdep-rebuild/revdep-rebuild-sh
index 2b9210dee1a0f6347b2092d8aeda1b3f97727437..c7acdc648157b1fc743abc915dec3881e2f4f9c8 100755
(executable)
--- a/
trunk/src/revdep-rebuild/revdep-rebuild-sh
+++ b/
trunk/src/revdep-rebuild/revdep-rebuild-sh
@@
-64,7
+64,7
@@
elf_broken() {
local lib=
for lib in $(ldd "$1" 2>/dev/null | \
- sed -n -e 's/[[:space:]]*\(.*\) => not found
.*/\1/p'); do
+ sed -n -e 's/[[:space:]]*\(.*\) => not found.*/\1/p'); do
if elf_needed "$1" "${lib}"; then
echo "(missing ${lib})"
return 0