Date: Thu, 28 Jan 2010 22:15:29 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r203133 - stable/8 Message-ID: <201001282215.o0SMFTNE068546@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Thu Jan 28 22:15:29 2010 New Revision: 203133 URL: http://svn.freebsd.org/changeset/base/203133 Log: MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently That is, write 'exec 3<&0' instead of '3<&0'. Due to an sh(1) bug fixed in head in r199953, the latter also persisted, provided that fd 3 was not open before. With newer sh or fd 3 open, it would not delete orphaned catpages. Modified: stable/8/Makefile.inc1 (contents, props changed) Modified: stable/8/Makefile.inc1 ============================================================================== --- stable/8/Makefile.inc1 Thu Jan 28 21:55:56 2010 (r203132) +++ stable/8/Makefile.inc1 Thu Jan 28 22:15:29 2010 (r203133) @@ -1248,7 +1248,7 @@ delete-old-files: fi; \ done # Remove catpages without corresponding manpages. - @3<&0; \ + @exec 3<&0; \ find ${DESTDIR}/usr/share/man/cat* ! -type d | \ sed -ep -e's:${DESTDIR}/usr/share/man/cat:${DESTDIR}/usr/share/man/man:' | \ while read catpage; do \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001282215.o0SMFTNE068546>