Wed, 14 Nov 2012 10:20:25 -0800
8003327: build-infra: "/bin/sh: : cannot execute" on solaris
Summary: Fix quoting inside cut command used in the pipeline
Reviewed-by: ohair, tbell
Contributed-by: erik.joelsson@oracle.com
common/makefiles/MakeHelpers.gmk | file | annotate | diff | comparison | revisions |
1.1 --- a/common/makefiles/MakeHelpers.gmk Wed Nov 14 10:18:51 2012 -0800 1.2 +++ b/common/makefiles/MakeHelpers.gmk Wed Nov 14 10:20:25 2012 -0800 1.3 @@ -142,7 +142,7 @@ 1.4 define TargetExit 1.5 $(call RecordEndTime,$(patsubst %-only,%,$@)) 1.6 $(BUILD_LOG_WRAPPER) $(PRINTF) "## Finished $(patsubst %-only,%,$@) (build time %s)\n\n" \ 1.7 - "`$(CAT) $(BUILDTIMESDIR)/build_time_diff_$(patsubst %-only,%,$@) | $(CUT) -f 1 -d " "`" 1.8 + "`$(CAT) $(BUILDTIMESDIR)/build_time_diff_$(patsubst %-only,%,$@) | $(CUT) -f 1 -d ' '`" 1.9 $(call CheckIfMakeAtEnd) 1.10 endef 1.11