Merge "Sort the list of scripts in the profile view"
This commit is contained in:
commit
bfe7957863
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue