# HG changeset patch # User tbell # Date 1352917225 28800 # Node ID e69396d6d3e8e3a39d53c7f38c4920f074f0865e # Parent f59a07f851258bd929eecec6587d95188277ebf7 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 diff -r f59a07f85125 -r e69396d6d3e8 common/makefiles/MakeHelpers.gmk --- a/common/makefiles/MakeHelpers.gmk Wed Nov 14 10:18:51 2012 -0800 +++ b/common/makefiles/MakeHelpers.gmk Wed Nov 14 10:20:25 2012 -0800 @@ -142,7 +142,7 @@ define TargetExit $(call RecordEndTime,$(patsubst %-only,%,$@)) $(BUILD_LOG_WRAPPER) $(PRINTF) "## Finished $(patsubst %-only,%,$@) (build time %s)\n\n" \ - "`$(CAT) $(BUILDTIMESDIR)/build_time_diff_$(patsubst %-only,%,$@) | $(CUT) -f 1 -d " "`" + "`$(CAT) $(BUILDTIMESDIR)/build_time_diff_$(patsubst %-only,%,$@) | $(CUT) -f 1 -d ' '`" $(call CheckIfMakeAtEnd) endef