Merge
authorroland
Tue, 20 Oct 2015 13:36:20 +0000
changeset 33450 08222df07d0d
parent 33448 666c82f3bd5a (diff)
parent 33449 8aca535611b8 (current diff)
child 33451 0712796e4039
child 33454 d97c7a894c66
Merge
--- a/hotspot/make/gensrc/Gensrc-jdk.vm.ci.gmk	Fri Oct 16 16:53:02 2015 +0200
+++ b/hotspot/make/gensrc/Gensrc-jdk.vm.ci.gmk	Tue Oct 20 13:36:20 2015 +0000
@@ -108,7 +108,11 @@
 	($(CD) $(GENSRC_DIR)/META-INF/jvmci.providers && \
 	    for i in $$($(LS)); do \
 	      c=$$($(CAT) $$i | $(TR) -d '\n\r'); \
-	      $(ECHO) $$i >> $(GENSRC_DIR)/META-INF/services/$$c; \
+	      $(ECHO) $$i >> $(GENSRC_DIR)/META-INF/services/$$c.tmp; \
+	    done)
+	($(CD) $(GENSRC_DIR)/META-INF/services && \
+	    for i in $$($(LS) *.tmp); do \
+	      $(MV) $$i $${i%.tmp}; \
 	    done)
 	$(TOUCH) $@