8006933: Need to use nawk on Solaris to avoid awk limitations

Thu, 31 Jan 2013 13:31:30 -0800

author
tbell
date
Thu, 31 Jan 2013 13:31:30 -0800
changeset 606
6e296219633d
parent 604
2a713921952c
child 608
7e584be2ee58

8006933: Need to use nawk on Solaris to avoid awk limitations
Reviewed-by: erikj, dholmes, dsamersoff

common/makefiles/IdlCompilation.gmk file | annotate | diff | comparison | revisions
     1.1 --- a/common/makefiles/IdlCompilation.gmk	Wed Jan 30 13:39:23 2013 -0800
     1.2 +++ b/common/makefiles/IdlCompilation.gmk	Thu Jan 31 13:31:30 2013 -0800
     1.3 @@ -71,7 +71,7 @@
     1.4  		$4
     1.5  	$(RM) -f $$(addprefix $3/$$($4_TMPDIR)/,$6)
     1.6  	$(CP) -rp $3/$$($4_TMPDIR)/* $3
     1.7 -	($(CD) $3/$$($4_TMPDIR); find . -type f | sed 's!\./!$3/!g' | awk '{ print $$$$1 ": $4" }' > $5)
     1.8 +	($(CD) $3/$$($4_TMPDIR) && $(FIND) . -type f | $(SED) 's!\./!$3/!g' | $(NAWK) '{ print $$$$1 ": $4" }' > $5)
     1.9  	$(RM) -rf $3/$$($4_TMPDIR)
    1.10  endef
    1.11  

mercurial