diff common/makefiles/IdlCompilation.gmk @ 604:6e296219633d

8006933: Need to use nawk on Solaris to avoid awk limitations Reviewed-by: erikj, dholmes, dsamersoff
author tbell
date Thu, 31 Jan 2013 13:31:30 -0800
parents d2c1f80118de
children 2d4156e077fa
line wrap: on
line diff
--- a/common/makefiles/IdlCompilation.gmk	Wed Jan 30 13:39:23 2013 -0800
+++ 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