8231902: Build of jdk.internal.vm.compiler.management/module-info.java.extra failed
authordlong
Mon, 07 Oct 2019 13:56:11 -0700
changeset 58487 43f63f904bbc
parent 58486 dcb418f5aabd
child 58488 165b193b30dd
8231902: Build of jdk.internal.vm.compiler.management/module-info.java.extra failed Reviewed-by: kvn, ihse, erikj
make/gensrc/Gensrc-jdk.internal.vm.compiler.management.gmk
--- 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 \