svn commit: r315228 - head/tools/build/mk
Ngie Cooper
ngie at FreeBSD.org
Tue Mar 14 06:52:56 UTC 2017
Author: ngie
Date: Tue Mar 14 06:52:54 2017
New Revision: 315228
URL: https://svnweb.freebsd.org/changeset/base/315228
Log:
Redirect standard error from find /rescue to /dev/null
This mutes noise from find when /rescue doesn't exist.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Modified:
head/tools/build/mk/OptionalObsoleteFiles.inc
Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc Tue Mar 14 06:12:51 2017 (r315227)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc Tue Mar 14 06:52:54 2017 (r315228)
@@ -7484,9 +7484,9 @@ OLD_FILES+=usr/share/man/man8/rwhod.8.gz
.if ${MK_RESCUE} == no
. if exists(${DESTDIR}${TESTSBASE})
-RESCUE_DIRS!=find ${DESTDIR}/rescue -type d | sed -e 's,^${DESTDIR}/,,'; echo
+RESCUE_DIRS!=find ${DESTDIR}/rescue -type d 2>/dev/null | sed -e 's,^${DESTDIR}/,,'; echo
OLD_DIRS+=${RESCUE_DIRS}
-RESCUE_FILES!=find ${DESTDIR}/rescue \! -type d | sed -e 's,^${DESTDIR}/,,'; echo
+RESCUE_FILES!=find ${DESTDIR}/rescue \! -type d 2>/dev/null | sed -e 's,^${DESTDIR}/,,'; echo
OLD_FILES+=${RESCUE_FILES}
. endif
.endif
More information about the svn-src-head
mailing list