X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fhelper%2Fstartup.tcl;h=a7c0d5844f8523031e0c612d70c9c59ec990364d;hb=ebece4a9817e91c92884998b33aa921c3f277193;hp=e2ea27d0a466808ac9644ab0d5c9b70f09d0f175;hpb=a62d8f2271312ba955e839509590f5a5975b1b49;p=fw%2Fopenocd diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl index e2ea27d0a..a7c0d5844 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 ""