Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2017 13:06:11 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324496 - head
Message-ID:  <201710101306.v9AD6Bck086031@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710101306.v9AD6Bck086031>