Avoid potential empty lines in warnings about missing SONAMEs or NEEDED entries....
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 21 Aug 2009 20:37:46 +0000 (20:37 -0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 21 Aug 2009 20:37:46 +0000 (20:37 -0000)
svn path=/main/trunk/; revision=14119

bin/misc-functions.sh

index cfd7e0a3c77aa7fdc6b582612d767cb44819bbd6..8a38da8582b721149a4b00df99df94791c5ed468 100755 (executable)
@@ -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'