From 84bb1c8b0ed15f7b2e6d70ed716bf90420bcdaa7 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Mon, 7 Oct 2024 19:18:38 +0300 Subject: [PATCH] /tools/twn: fix apitrace show command now showing the latest trace --- tools/twn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/twn b/tools/twn index c8bb124..031a5a3 100755 --- a/tools/twn +++ b/tools/twn @@ -26,7 +26,7 @@ case "$1" in ./$exe "${@:3}" ;; - show ) traces=( "$exe.*.trace" ) + show ) traces=( $exe.*.trace ) trace=${traces[-1]} if [ "$trace" = "$exe.*.trace" ]; then trace="$exe.trace"