This is an automated email from Gerrit.

Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/4083

-- gerrit

commit 1e9e144b271bc2f6d311b19b60637c3056a1e533
Author: Paul Fertser <[email protected]>
Date:   Tue Mar 28 13:23:43 2017 +0300

    flash/startup: make program accept filenames with spaces and other 
characters
    
    This should allow to process any path names excluding those that have
    curly braces.
    
    Change-Id: I87bf9ddede11e2b28d5826878eb1338143f73c03
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl
index fbb8d8e..df37ea4 100644
--- a/src/flash/startup.tcl
+++ b/src/flash/startup.tcl
@@ -42,6 +42,7 @@ proc program {filename args} {
 
        # start programming phase
        echo "** Programming Started **"
+       set filename \{$filename\}
        if {[info exists address]} {
                set flash_args "$filename $address"
        } else {

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to