From 6afc2ce278026a71f9193bdde71beda40ebbeb36 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 27 Jul 2008 12:02:36 +0000 Subject: Fixes from Arfrever: * Highlight the "Files built without respecting LDFLAGS" QA Notice with red. * Remove scanelf-ignored-LDFLAGS.log when empty. svn path=/main/trunk/; revision=11216 --- bin/misc-functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/misc-functions.sh') diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 5854de9b6..97f55002d 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -183,12 +183,14 @@ install_qa_check() { f=$(<"${T}"/scanelf-ignored-LDFLAGS.log) if [[ -n ${f} ]] ; then vecho -ne '\a\n' - eqawarn "QA Notice: Files built without respecting LDFLAGS have been detected" + eqawarn "${BAD}QA Notice: Files built without respecting LDFLAGS have been detected" eqawarn " Please include this file in your report:" eqawarn " ${T}/scanelf-ignored-LDFLAGS.log" eqawarn "${f}" vecho -ne '\a\n' sleep 1 + else + rm -f "${T}"/scanelf-ignored-LDFLAGS.log fi fi fi -- cgit v1.2.3-1-g7c22