aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-05-10 16:39:08 +0000
committerWarner Losh <imp@FreeBSD.org>2014-05-10 16:39:08 +0000
commite8bad5dc64783d1b4c9d243414c440aba43d5491 (patch)
tree0c3385696793da898abae31df689fa38409c4214 /Makefile
parentb8fffe166dee826100722fefefdcf6dd73bd194f (diff)
downloadsrc-e8bad5dc64783d1b4c9d243414c440aba43d5491.tar.gz
src-e8bad5dc64783d1b4c9d243414c440aba43d5491.zip
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.
Notes
Notes: svn path=/head/; revision=265840
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8db5fe4cbc48..c47ba90a70cb 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 \