svn commit: r51638 - head/share/mk

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: wosch
Date: Thu May 10 20:06:54 2018
New Revision: 51638
URL: https://svnweb.freebsd.org/changeset/doc/51638

Log:
  Fix `make po' for updates
  
  PR:		227905
  Differential Revision:	https://reviews.freebsd.org/D15263

Modified:
  head/share/mk/doc.translate.mk

Modified: head/share/mk/doc.translate.mk
==============================================================================
--- head/share/mk/doc.translate.mk	Thu May 10 15:16:26 2018	(r51637)
+++ head/share/mk/doc.translate.mk	Thu May 10 20:06:54 2018	(r51638)
@@ -68,9 +68,9 @@ ${PO_LANG}.po:	${DOC}.translate.xml
 .if exists(${PO_LANG}.po)
 	@${ECHO} "${PO_LANG}.po exists, merging"
 	@${MSGMERGE} -o ${PO_LANG}.po.new ${PO_LANG}.po ${PO_LANG}.po.tmp
-	@${MSGATTRIB} --no-obsolete -o ${PO_LANG}.po.new ${PO_LANG}.po
-	@${MV} ${PO_LANG}.po.new ${PO_LANG}.po
-	@${RM} ${PO_LANG}.po.tmp
+	@${MSGATTRIB} --no-obsolete -o ${PO_LANG}.po.tmp ${PO_LANG}.po.new
+	@${RM} ${PO_LANG}.po.new
+	@${MV} ${PO_LANG}.po.tmp ${PO_LANG}.po
 .else
 	@${ECHO} "${PO_LANG}.po created, please check and correct the settings in the header"
 	@${MV} ${PO_LANG}.po.tmp ${PO_LANG}.po
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.