diff options
author | Paul Fertser <fercerpav@gmail.com> | 2017-03-28 13:23:43 +0300 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2018-01-13 08:43:26 +0000 |
commit | b95e0c13aa64ebbc8407ce8b974b1efd44df84c9 (patch) | |
tree | 7aef4c478f2394004230d68d7b0f153b022b609d /src/flash | |
parent | 3cb7fd4a606c858313f94a29120fe68b06ed967d (diff) | |
download | riscv-openocd-b95e0c13aa64ebbc8407ce8b974b1efd44df84c9.zip riscv-openocd-b95e0c13aa64ebbc8407ce8b974b1efd44df84c9.tar.gz riscv-openocd-b95e0c13aa64ebbc8407ce8b974b1efd44df84c9.tar.bz2 |
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 <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/4083
Tested-by: jenkins
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/startup.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl index ed905e9..ff053ae 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 { |