commit: aacade093c18940c34449f711576c86360056346 Author: Ryan Hill <rhill <AT> gentoo <DOT> org> AuthorDate: Mon May 4 05:04:41 2015 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Mon May 4 05:07:23 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=aacade09
gcc_warn_check: filter grep results with uniq (bug 548438) X-Gentoo-Bug: 548438 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548438 Acked-by: Brian Dolbec <dolsen <AT> gentoo.org> bin/install-qa-check.d/90gcc-warnings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install-qa-check.d/90gcc-warnings b/bin/install-qa-check.d/90gcc-warnings index b18651e..bd82cab 100644 --- a/bin/install-qa-check.d/90gcc-warnings +++ b/bin/install-qa-check.d/90gcc-warnings @@ -82,7 +82,7 @@ gcc_warn_check() { [[ $PORTAGE_LOG_FILE = *.gz ]] && grep_cmd=zgrep # force C locale to work around slow unicode locales #160234 - f=$(LC_CTYPE=C LC_COLLATE=C "${grep_cmd}" -E "${joined_msgs}" "${PORTAGE_LOG_FILE}") + f=$(LC_CTYPE=C LC_COLLATE=C "${grep_cmd}" -E "${joined_msgs}" "${PORTAGE_LOG_FILE}" | uniq) if [[ -n ${f} ]] ; then abort="yes" # for now, don't make this fatal (see bug #337031)