This is an automated email from Gerrit. Freddie Chopin (freddie.cho...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/40
-- gerrit commit 70674284abe1e4106f5b06829a9f8f2f000a3977 Author: Freddie Chopin <freddie.cho...@gmail.com> Date: Fri Oct 21 18:20:17 2011 +0200 Revert "Evaluate 'script' in the global scope" This reverts commit a62d8f2271312ba955e839509590f5a5975b1b49. This caused Windows builds behave differently than before because backslash from paths got unescaped and effectively wiped out. Configs could only be passed with "-f ../dir/config.cfg" or "-f ..\\dir\\config.cfg" instead of usual "-f dir/config.cfg" (or using backslash) as previously. Change-Id: I13b4abac6dbe6d770cc11a4e61c9421ef340da83 Signed-off-by: Freddie Chopin <freddie.cho...@gmail.com> diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl index e2ea27d..2e2982c 100644 --- a/src/helper/startup.tcl +++ b/src/helper/startup.tcl @@ -53,9 +53,9 @@ proc find {filename} { add_usage_text find "<file>" add_help_text find "print full path to file according to OpenOCD search rules" -# Find and run a script +# Run script proc script {filename} { - uplevel #0 source [find $filename] + source [find $filename] } add_help_text script "filename of OpenOCD script (tcl) to run" add_usage_text script "<file>" -- _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development