make/gensrc/Gensrc-jdk.internal.vm.compiler.management.gmk
changeset 58487 43f63f904bbc
parent 54380 e297c7bb6469
--- 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 \