8006933: Need to use nawk on Solaris to avoid awk limitations
authortbell
Thu, 31 Jan 2013 13:31:30 -0800
changeset 15392 28d8aefeedd3
parent 15389 f1478a6d25fd
child 15394 9a1066ec78be
8006933: Need to use nawk on Solaris to avoid awk limitations Reviewed-by: erikj, dholmes, dsamersoff
common/makefiles/IdlCompilation.gmk
--- a/common/makefiles/IdlCompilation.gmk	Wed Jul 05 18:38:32 2017 +0200
+++ b/common/makefiles/IdlCompilation.gmk	Thu Jan 31 13:31:30 2013 -0800
@@ -71,7 +71,7 @@
 		$4
 	$(RM) -f $$(addprefix $3/$$($4_TMPDIR)/,$6)
 	$(CP) -rp $3/$$($4_TMPDIR)/* $3
-	($(CD) $3/$$($4_TMPDIR); find . -type f | sed 's!\./!$3/!g' | awk '{ print $$$$1 ": $4" }' > $5)
+	($(CD) $3/$$($4_TMPDIR) && $(FIND) . -type f | $(SED) 's!\./!$3/!g' | $(NAWK) '{ print $$$$1 ": $4" }' > $5)
 	$(RM) -rf $3/$$($4_TMPDIR)
 endef