Fix regular expression in elf_broken to work with ldd from linux
authorfuzzyray <fuzzyray@gentoo.org>
Mon, 22 Oct 2007 16:54:31 +0000 (16:54 -0000)
committerfuzzyray <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

index 2b9210dee1a0f6347b2092d8aeda1b3f97727437..c7acdc648157b1fc743abc915dec3881e2f4f9c8 100755 (executable)
@@ -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