svn commit: r324000 - head

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 26 05:33:16 UTC 2017


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


More information about the svn-src-head mailing list