From b95e0c13aa64ebbc8407ce8b974b1efd44df84c9 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Tue, 28 Mar 2017 13:23:43 +0300 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/4083 Tested-by: jenkins --- src/flash/startup.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl index ed905e94..ff053ae1 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 { -- 2.39.5