summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-04-29 07:23:07 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-04-29 07:23:07 (GMT)
commit42e171af9f7d955cce861026cfccd61e950256e3 (patch)
tree1260f679767f5188f8a2b40b8f1f2953f8cd0417 /library/init.tcl
parent6dc349d4991d4514c4419c39e9918cf4c7998cfd (diff)
parent4afd3525b5e7ea01272b07281dd65833bdb885d7 (diff)
downloadtcl-42e171af9f7d955cce861026cfccd61e950256e3.zip
tcl-42e171af9f7d955cce861026cfccd61e950256e3.tar.gz
tcl-42e171af9f7d955cce861026cfccd61e950256e3.tar.bz2
merge trunk
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 685fc7b..d8de540 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -651,7 +651,7 @@ proc auto_execok name {
set execExtensions [list {} .com .exe .bat .cmd]
}
- if {$name in $shellBuiltins} {
+ if {[string tolower $name] in $shellBuiltins} {
# 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.