Author: bapt
Date: Tue Sep 26 05:33:15 2017
New Revision: 324000
URL: https://svnweb.freebsd.org/changeset/base/324000

Log:
  Do not print error when running make delete-old on system
  without catpages directories

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Tue Sep 26 01:31:49 2017        (r323999)
+++ head/Makefile.inc1  Tue Sep 26 05:33:15 2017        (r324000)
@@ -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; \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to