From c113722b6e27bb74db705148fd71b8c82108d81e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 6 Sep 2008 21:23:17 +0000 Subject: In the ignored LDFLAGS check, filter out anything under /usr/lib/debug/ in order to avoid duplicate warnings for splitdebug files. Thanks to Cardoe for the suggestion. svn path=/main/trunk/; revision=11497 --- bin/misc-functions.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 12e8b7e0b..1a0af4490 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -179,7 +179,10 @@ install_qa_check() { set -${shopts} fi fi - sed -e "/^\$/d" -e "s#^#/#" -i "${T}"/scanelf-ignored-LDFLAGS.log + # Filter anything under /usr/lib/debug/ in order to avoid + # duplicate warnings for splitdebug files. + sed -e "s#^usr/lib/debug/.*##" -e "/^\$/d" -e "s#^#/#" \ + -i "${T}"/scanelf-ignored-LDFLAGS.log f=$(<"${T}"/scanelf-ignored-LDFLAGS.log) if [[ -n ${f} ]] ; then vecho -ne '\a\n' -- cgit v1.2.3-1-g7c22