mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8139657: Incremental build of jdk.vm.ci-gensrc creates repeated entries in services file
Reviewed-by: twisti
This commit is contained in:
parent
0fcb9ffe75
commit
fc56d44bca
1 changed files with 5 additions and 1 deletions
|
@ -108,7 +108,11 @@ $(GENSRC_DIR)/_providers_converted: $(GENSRC_DIR)/_gensrc_proc_done
|
|||
($(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) $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue