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.
This commit is contained in:
imp 2014-05-10 16:39:08 +00:00
parent 975a81a4d7
commit d0cce18ef3

View File

@ -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 \