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

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