Permalink
Browse files

fix padding of nanoseconds, update #2634

  • Loading branch information...
1 parent 314d53c commit a1da134ea7fbe9a5b101ae167533ae34aa9d8daa @mpapis mpapis committed Feb 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/functions/installer
@@ -35,7 +35,7 @@ install_run_debug_time()
__ds="$(( __ds - 1 ))"
fi
fi
- __time="${__ds}${__dn:+".$__dn"} seconds"
+ __time="${__ds}${__dn:+"$(printf ".%09d" "$__dn")"} seconds"
rvm_debug "step< '$1' finished with status 0 in ${__time}"
}

0 comments on commit a1da134

Please sign in to comment.