From f5fc2975817238520287437bf4edd23fbab80f17 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Mon, 22 Oct 2007 16:54:31 +0000 Subject: [PATCH] Fix regular expression in elf_broken to work with ldd from linux svn path=/; revision=455 --- trunk/src/revdep-rebuild/revdep-rebuild-sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2