From 38a74a6b52e324374fbbf8b4533ea012ce3b3844 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 6 Oct 2017 14:22:45 +0000 Subject: [PATCH] the creation of pgpkeyring.txt must be atomar --- share/pgpkeys/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/pgpkeys/Makefile b/share/pgpkeys/Makefile index 30c7557954..8fa5e1a7a1 100644 --- a/share/pgpkeys/Makefile +++ b/share/pgpkeys/Makefile @@ -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"