From 8e7482cf04a9c47aa071e48a5d5a0ea8a35023f6 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 4 Jul 2014 11:55:16 +0200 Subject: [PATCH] generation of mkws.js must be atomar --- tools/htdocs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index d043f1e..7aedddb 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -83,7 +83,8 @@ release: mkws.js mkws-complete.js mkws.min.js mkws-complete.min.js mkws.js: $(COMPONENTS) Makefile rm -f $@ - cat ${COMPONENTS} > $@ + cat ${COMPONENTS} > $@.tmp + mv -f $@.tmp $@ chmod 444 $@ distclean: clean -- 1.7.10.4