From 8eeb0d14695db9b3ebd26e2154e592ba3f571097 Mon Sep 17 00:00:00 2001 From: David Majda Date: Fri, 15 Jan 2016 14:57:54 +0100 Subject: [PATCH] tools/impact: Use printf instead of echo -n It turns out that on OS X, /bin/sh pretends it doesn't know the echo -n option and just prints it with other input. --- tools/impact | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/impact b/tools/impact index d9edc74..80ef521 100755 --- a/tools/impact +++ b/tools/impact @@ -100,13 +100,13 @@ fi cd_to_root -echo -n "Measuring commit $commit_before..." +printf "Measuring commit %s..." "$commit_before" prepare "$commit_before" speed1=$(measure_speed) size1=$(measure_size) echo " OK" -echo -n "Measuring commit $commit_after..." +printf "Measuring commit %s..." "$commit_after" prepare "$commit_after" speed2=$(measure_speed) size2=$(measure_size)