Merge "Sort the list of scripts in the profile view"

This commit is contained in:
Jenkins 2014-09-29 10:23:38 +00:00 committed by Gerrit Code Review
commit bfe7957863
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ printf "%-40s %9s\n" Script Seconds
printf "%-40s %9s\n" --------------------------------------- ----------
echo ""
pushd $PROFILE_DIR > /dev/null
for target in $(find . -name 'start_*' -printf '%f\n') ; do
for target in $(find . -name 'start_*' -printf '%f\n' | env LC_ALL=C sort -n) ; do
stop_file=stop_${target##start_}
start_seconds=$(cat $target)
stop_seconds=$(cat $stop_file)