diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/remote.exp | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2007-08-28 Daniel Jacobowitz <dan@codesourcery.com> + + * lib/remote.exp (standard_send): Correct quoting. + 2007-05-17 Ben Elliston <bje@gnu.org> * doc/user.xml: Correct the syntax for running apt-get on a Debian diff --git a/lib/remote.exp b/lib/remote.exp index 4de8900..fe3825d 100644 --- a/lib/remote.exp +++ b/lib/remote.exp @@ -637,8 +637,8 @@ proc standard_send { dest string } { } else { set shell_id [board_info $dest fileid] verbose "shell_id in standard_send is $shell_id" 3 - verbose "send -i [board_info $dest fileid] -- {$string}" 3 - if {[catch "send -i [board_info $dest fileid] -- {$string}" errorInfo]} { + verbose "send -i [board_info $dest fileid] -- $string" 3 + if {[catch "send -i [board_info $dest fileid] -- \$string" errorInfo]} { return "$errorInfo" } else { return "" |