aboutsummaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/startup.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index e2ea27d..a7c0d58 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>"