Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 16:39:08 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265840 - head
Message-ID:  <201405101639.s4AGd8EZ007190@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat May 10 16:39:08 2014
New Revision: 265840
URL: http://svnweb.freebsd.org/changeset/base/265840

Log:
  grep -L returns non-zero status if none of the files had the pattern
  in them. This is often the case, so just ignore the return
  code. Actual errors that are found will also be detected downstream in
  the rare cases where the return code is 2 instead of 1.

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile	Sat May 10 16:39:00 2014	(r265839)
+++ head/Makefile	Sat May 10 16:39:08 2014	(r265840)
@@ -450,7 +450,7 @@ TARGET!=	uname -m
 .if defined(MAKE_ALL_KERNELS)
 _THINNER=cat
 .else
-_THINNER=xargs grep -L "^.NO_UNIVERSE"
+_THINNER=xargs grep -L "^.NO_UNIVERSE" || true
 .endif
 KERNCONFS!=	cd ${KERNSRCDIR}/${TARGET}/conf && \
 		find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405101639.s4AGd8EZ007190>