svn commit: r202324 - head

Jilles Tjoelker jilles at FreeBSD.org
Thu Jan 14 23:27:23 UTC 2010


Author: jilles
Date: Thu Jan 14 23:27:23 2010
New Revision: 202324
URL: http://svn.freebsd.org/changeset/base/202324

Log:
  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
  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.
  
  MFC after:	2 weeks

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Thu Jan 14 22:37:06 2010	(r202323)
+++ head/Makefile.inc1	Thu Jan 14 23:27:23 2010	(r202324)
@@ -1266,7 +1266,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 \


More information about the svn-src-all mailing list