diff options
-rw-r--r-- | src/helper/startup.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl index e2ea27d0..a7c0d584 100644 --- a/src/helper/startup.tcl +++ b/src/helper/startup.tcl @@ -55,7 +55,7 @@ add_help_text find "print full path to file according to OpenOCD search rules" # Find and run a script proc script {filename} { - uplevel #0 source [find $filename] + uplevel #0 [list source [find $filename]] } add_help_text script "filename of OpenOCD script (tcl) to run" add_usage_text script "<file>" |