summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-05-10 16:39:08 +0000
committerimp <imp@FreeBSD.org>2014-05-10 16:39:08 +0000
commitd0cce18ef329116fbe07e5b9366884dbadb40288 (patch)
tree0c3385696793da898abae31df689fa38409c4214
parent975a81a4d7176abd63d96387489092efd07797cc (diff)
downloadFreeBSD-src-d0cce18ef329116fbe07e5b9366884dbadb40288.zip
FreeBSD-src-d0cce18ef329116fbe07e5b9366884dbadb40288.tar.gz
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8db5fe4..c47ba90 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \
OpenPOWER on IntegriCloud