From 9ea81ac037bdf681b2d826b40cd6f3f3352cc77d Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 28 Mar 2008 21:18:04 +0000 Subject: [PATCH] Fix cause of bug #215116. Properly read input from scanelf such that we don't interpret rpath info as needed info svn path=/main/branches/prefix/; revision=9582 --- bin/misc-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index dc2d77573..38c64c59e 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -160,9 +160,9 @@ install_qa_check() { fi # Save NEEDED information after removing self-contained providers - scanelf -qyRF '%p:%r %n' "${D}" | sed -e 's:^:/:' | { while read l; do + scanelf -qyRF '%p:%r %n' "${D}" | sed -e 's:^:/:' | { while IFS= read l; do obj=${l%%:*} - rpath=${l##*:}; rpath=${rpath%% *} + rpath=${l#*:}; rpath=${rpath% *} needed=${l##* } if [ -z "${rpath}" -o -n "${rpath//*ORIGIN*}" ]; then # object doesn't contain $ORIGIN in its runpath attribute -- 2.26.2