From c1794160e29179a5d4500c6735f2f44991eb720c Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 21 Aug 2009 20:37:46 +0000 Subject: [PATCH] Avoid potential empty lines in warnings about missing SONAMEs or NEEDED entries. Found by Zac Medico. svn path=/main/trunk/; revision=14119 --- bin/misc-functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index cfd7e0a3c..8a38da858 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -264,6 +264,7 @@ install_qa_check() { set -${shopts} fi fi + sed -e "/^\$/d" -i "${T}"/scanelf-missing-SONAME.log f=$(<"${T}"/scanelf-missing-SONAME.log) if [[ -n ${f} ]] ; then vecho -ne '\a\n' @@ -297,6 +298,7 @@ install_qa_check() { set -${shopts} fi fi + sed -e "/^\$/d" -i "${T}"/scanelf-missing-NEEDED.log f=$(<"${T}"/scanelf-missing-NEEDED.log) if [[ -n ${f} ]] ; then vecho -ne '\a\n' -- 2.26.2