8003327: build-infra: "/bin/sh: : cannot execute" on solaris
authortbell
Wed, 14 Nov 2012 10:20:25 -0800
changeset 14462 5731c2f9d507
parent 14461 7511ccfbebc0
child 14463 c8c59639a854
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
--- 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