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
This commit is contained in:
Olof Johansson 2010-08-09 16:05:50 -05:00
parent 4c5d388cb5
commit 6d49138087

View File

@ -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"
}