summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-04-27 08:46:47 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-04-27 08:46:47 (GMT)
commitd0206ab72a48d29bbdf3814853a857d29fe6923f (patch)
tree8d9379ec2b9a9918eeab92e38127bdac8620c29e /library
parentcd9e8f06c4f0e83231558995f26f7c02bdab2ac9 (diff)
downloadtcl-d0206ab72a48d29bbdf3814853a857d29fe6923f.zip
tcl-d0206ab72a48d29bbdf3814853a857d29fe6923f.tar.gz
tcl-d0206ab72a48d29bbdf3814853a857d29fe6923f.tar.bz2
Make 'auto_execok START' do the Right Thing
Diffstat (limited to 'library')
-rw-r--r--library/init.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 8a53c69..f2f85e1 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -580,7 +580,7 @@ proc auto_execok name {
set execExtensions [list {} .com .exe .bat]
}
- if {[lsearch -exact $shellBuiltins $name] != -1} {
+ if {[lsearch -exact $shellBuiltins [string tolower $name]] != -1} {
# When this is command.com for some reason on Win2K, Tcl won't
# exec it unless the case is right, which this corrects. COMSPEC
# may not point to a real file, so do the check.