From 6d49138087eb58f94be97c553193eb8cbf4103b4 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Mon, 9 Aug 2010 16:05:50 -0500 Subject: [PATCH] fix print of total elapsed time BUG=none TEST=run build_image, happen to finish on a time with less than 10 seconds in it, watch the missing 0-padding Review URL: http://codereview.chromium.org/3050047 --- common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.sh b/common.sh index 32df7d1a84..036f7972f5 100644 --- a/common.sh +++ b/common.sh @@ -454,5 +454,5 @@ print_time_elapsed() { elapsed_seconds="$(( $end_time - $start_time ))" minutes="$(( $elapsed_seconds / 60 ))" seconds="$(( $elapsed_seconds % 60 ))" - echo "Elapsed time: ${minutes}:${seconds}" + echo "Elapsed time: ${minutes}m${seconds}s" }