Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2017 14:22:45 +0000 (UTC)
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r51067 - head/share/pgpkeys
Message-ID:  <201710061422.v96EMjlF098813@repo.freebsd.org>

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



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