diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-27 12:02:36 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-27 12:02:36 +0000 |
commit | 6afc2ce278026a71f9193bdde71beda40ebbeb36 (patch) | |
tree | 68985fcd485ed461597c1744ab66cea76a61564e | |
parent | be6e2cdf4b15ae4b288ba1d870f4508b0137661a (diff) | |
download | portage-6afc2ce278026a71f9193bdde71beda40ebbeb36.tar.gz portage-6afc2ce278026a71f9193bdde71beda40ebbeb36.tar.bz2 portage-6afc2ce278026a71f9193bdde71beda40ebbeb36.zip |
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
-rwxr-xr-x | bin/ebuild.sh | 2 | ||||
-rwxr-xr-x | bin/misc-functions.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 4e35f7c4d..7692c4e02 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1176,7 +1176,7 @@ inherit() { # false alarms due to INHERITED in /var/db/pkg being outdated # in comparison the the eclasses from the portage tree. if ! hasq $ECLASS $INHERITED; then - eqawarn "QA Notice: ECLASS '$ECLASS' inherited illegally in $CATEGORY/$PF" + eqawarn "QA Notice: ECLASS '$ECLASS' inherited illegally in $CATEGORY/$PF $EBUILD_PHASE" fi fi 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 |