/tools/twn: fix apitrace show command now showing the latest trace
This commit is contained in:
parent
b12faa6a44
commit
84bb1c8b0e
@ -26,7 +26,7 @@ case "$1" in
|
|||||||
./$exe "${@:3}"
|
./$exe "${@:3}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
show ) traces=( "$exe.*.trace" )
|
show ) traces=( $exe.*.trace )
|
||||||
trace=${traces[-1]}
|
trace=${traces[-1]}
|
||||||
if [ "$trace" = "$exe.*.trace" ]; then
|
if [ "$trace" = "$exe.*.trace" ]; then
|
||||||
trace="$exe.trace"
|
trace="$exe.trace"
|
||||||
|
Loading…
Reference in New Issue
Block a user