summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/init.tcl5
1 files changed, 1 insertions, 4 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 794b68b..530ce58 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -653,10 +653,7 @@ proc auto_execok name {
set windir $env(WINDIR)
}
if {[info exists windir]} {
- if {$tcl_platform(os) eq "Windows NT"} {
- append path "$windir/system32;"
- }
- append path "$windir/system;$windir;"
+ append path "$windir/system32;$windir/system;$windir;"
}
foreach var {PATH Path path} {