* Highlight the "Files built without respecting LDFLAGS" QA Notice with red.
* Remove scanelf-ignored-LDFLAGS.log when empty.
svn path=/main/trunk/; revision=11216
# 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
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