summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-21 20:37:46 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-21 20:37:46 +0000
commitc1794160e29179a5d4500c6735f2f44991eb720c (patch)
tree1ad56c2359e6bb7184f0bb38464c1f96139694aa /bin/misc-functions.sh
parentNote that package.* and use.* as directories is only supported since (diff)
downloadportage-idfetch-c1794160e29179a5d4500c6735f2f44991eb720c.tar.gz
portage-idfetch-c1794160e29179a5d4500c6735f2f44991eb720c.tar.bz2
portage-idfetch-c1794160e29179a5d4500c6735f2f44991eb720c.zip
Avoid potential empty lines in warnings about missing SONAMEs or NEEDED entries. Found by Zac Medico.
svn path=/main/trunk/; revision=14119
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index cfd7e0a3..8a38da85 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'