diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-21 20:37:46 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-21 20:37:46 +0000 |
commit | c1794160e29179a5d4500c6735f2f44991eb720c (patch) | |
tree | 1ad56c2359e6bb7184f0bb38464c1f96139694aa | |
parent | 5955ea4312c9c137c50839bcee09b25fc64c4202 (diff) | |
download | portage-c1794160e29179a5d4500c6735f2f44991eb720c.tar.gz portage-c1794160e29179a5d4500c6735f2f44991eb720c.tar.bz2 portage-c1794160e29179a5d4500c6735f2f44991eb720c.zip |
Avoid potential empty lines in warnings about missing SONAMEs or NEEDED entries. Found by Zac Medico.
svn path=/main/trunk/; revision=14119
-rwxr-xr-x | bin/misc-functions.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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' |