Do not print error when running make check-old on system

without catpages directories

Reported by:	dim
This commit is contained in:
Baptiste Daroussin 2017-10-10 13:06:11 +00:00
parent 7a158e826d
commit 71a6afa2dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324496

View File

@ -2590,7 +2590,7 @@ check-old-files: .PHONY
done; \
done
# Check for catpages without corresponding manpages.
@find ${DESTDIR}/usr/share/man/cat* ! -type d | \
@find ${DESTDIR}/usr/share/man/cat* ! -type d 2>/dev/null | \
sed -ep -e's:${DESTDIR}/usr/share/man/cat:${DESTDIR}/usr/share/man/man:' | \
while read catpage; do \
read manpage; \