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

without catpages directories
This commit is contained in:
Baptiste Daroussin 2017-09-26 05:33:15 +00:00
parent a317fb03c2
commit b505dd63c9

View File

@ -2559,7 +2559,7 @@ delete-old-files: .PHONY
done
# Remove catpages without corresponding manpages.
@exec 3<&0; \
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; \