8231902: Build of jdk.internal.vm.compiler.management/module-info.java.extra failed
Reviewed-by: kvn, ihse, erikj
--- a/make/gensrc/Gensrc-jdk.internal.vm.compiler.management.gmk Mon Oct 07 11:29:10 2019 -0700
+++ b/make/gensrc/Gensrc-jdk.internal.vm.compiler.management.gmk Mon Oct 07 13:56:11 2019 -0700
@@ -73,7 +73,7 @@
($(CD) $(GENSRC_DIR)/META-INF/providers && \
p=""; \
impl=""; \
- for i in $$($(GREP) '^' * | $(SORT) -t ':' -k 2 | $(SED) 's/:.*//'); do \
+ for i in $$($(NAWK) '$$0=FILENAME" "$$0' * | $(SORT) -k 2 | $(SED) 's/ .*//'); do \
c=$$($(CAT) $$i | $(TR) -d '\n\r'); \
if test x$$p != x$$c; then \
if test x$$p != x; then \