From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 21 Aug 2009 20:37:46 +0000 (-0000) Subject: Avoid potential empty lines in warnings about missing SONAMEs or NEEDED entries.... X-Git-Tag: v2.2_rc39~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c1794160e29179a5d4500c6735f2f44991eb720c;p=portage.git Avoid potential empty lines in warnings about missing SONAMEs or NEEDED entries. Found by Zac Medico. svn path=/main/trunk/; revision=14119 --- 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'