From: fuzzyray Date: Mon, 22 Oct 2007 16:54:31 +0000 (-0000) Subject: Fix regular expression in elf_broken to work with ldd from linux X-Git-Tag: gentoolkit-0.2.4.3~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5fc2975817238520287437bf4edd23fbab80f17;p=gentoolkit.git Fix regular expression in elf_broken to work with ldd from linux svn path=/; revision=455 --- diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-sh b/trunk/src/revdep-rebuild/revdep-rebuild-sh index 2b9210d..c7acdc6 100755 --- 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