From da11cb6b8fce7ba5e5e14052d36bda3f2061441f Mon Sep 17 00:00:00 2001 From: Julian Noble Date: Mon, 23 Feb 2026 03:05:42 +1100 Subject: [PATCH] fix runtime-fallback sdxpath commandline --- src/make.tcl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/make.tcl b/src/make.tcl index a8b9812d..56f2608a 100644 --- a/src/make.tcl +++ b/src/make.tcl @@ -2765,11 +2765,12 @@ if {$sdxpath eq ""} { set testpath $rtfolder/$rtname if {[file exists $testpath]} { if {[file type $testpath] eq "directory"} { - set tclkitpath $rtfolder/[punkboot::lib::runtime_buildcopyname $testpath] + set alt_tclkitpath $rtfolder/[punkboot::lib::runtime_buildcopyname $testpath] } else { - set tclkitpath $testpath + set alt_tclkitpath $testpath } - if {$tclkitpath ne "" && [file exists $tclkitpath]} { + if {[file exists $alt_tclkitpath]} { + set sdxpath [list {*}$alt_tclkitpath $binfolder/sdx.kit] break } }