aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2014-10-29 13:24:15 -0600
committerRob Savoye <rob@welcomehome.org>2014-10-29 13:24:15 -0600
commit2bd46f3f89903fb207c31fc1362b3f1f2a60a4d0 (patch)
tree84a63bd58488b6a4a5075a6177416f997ea72ae0
parentfde36c173c222d4df071deaa92997155285e089f (diff)
don't use braces around variable name
-rw-r--r--lib/rsh.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rsh.exp b/lib/rsh.exp
index 2ab1368..57b071d 100644
--- a/lib/rsh.exp
+++ b/lib/rsh.exp
@@ -244,7 +244,7 @@ proc rsh_exec { boardname program pargs inp outp } {
global timeout
# Don't try to execute a data file
- if {[regexp "^\.txt$" ${program}]} {
+ if {[regexp "^\.txt$" $program]} {
return ""
}