Author: bapt
Date: Tue Oct 10 13:06:11 2017
New Revision: 324496
URL: https://svnweb.freebsd.org/changeset/base/324496

Log:
  Do not print error when running make check-old on system
  without catpages directories
  
  Reported by:  dim

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Tue Oct 10 13:05:26 2017        (r324495)
+++ head/Makefile.inc1  Tue Oct 10 13:06:11 2017        (r324496)
@@ -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; \
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to