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 \
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"