svn commit: r51067 - head/share/pgpkeys

Wolfram Schneider wosch at FreeBSD.org
Fri Oct 6 14:22:46 UTC 2017


Author: wosch
Date: Fri Oct  6 14:22:45 2017
New Revision: 51067
URL: https://svnweb.freebsd.org/changeset/doc/51067

Log:
  the creation of pgpkeyring.txt must be atomar

Modified:
  head/share/pgpkeys/Makefile

Modified: head/share/pgpkeys/Makefile
==============================================================================
--- head/share/pgpkeys/Makefile	Fri Oct  6 14:08:45 2017	(r51066)
+++ head/share/pgpkeys/Makefile	Fri Oct  6 14:22:45 2017	(r51067)
@@ -17,7 +17,8 @@ pgpkeyring: keyring.xml
 	@${XSLTPROC} ${XSLTPROCOPTS} ${XSLPGP} keyring.xml
 
 pgpkeyring.txt:
-	@${MAKE} pgpkeyring >${.TARGET}
+	@${MAKE} pgpkeyring > ${.TARGET}.tmp
+	${MV} ${.TARGET}.tmp ${.TARGET}
 
 .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 


More information about the svn-doc-all mailing list