From: Wolfram Schneider Date: Fri, 4 Jul 2014 09:55:16 +0000 (+0200) Subject: generation of mkws.js must be atomar X-Git-Tag: 1.0.0~438 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8e7482cf04a9c47aa071e48a5d5a0ea8a35023f6;p=mkws-moved-to-github.git generation of mkws.js must be atomar --- 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