summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl8
1 files changed, 6 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl
index e361645..c8a14db 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -16,7 +16,7 @@
if {[info commands package] == ""} {
error "version mismatch: library\nscripts expect Tcl version 7.5b1 or later but the loaded version is\nonly [info patchlevel]"
}
-package require -exact Tcl 8.7a2
+package require -exact Tcl 8.7.0-alpha.2
# Compute the auto path to use in this interpreter.
# The values on the path come from several locations:
@@ -53,7 +53,11 @@ namespace eval tcl {
}
}
set Dir [file join [file dirname [file dirname \
- [info nameofexecutable]]] lib]
+ [info nameofexecutable]]] lib tcl8]
+ if {$Dir ni $::auto_path} {
+ lappend ::auto_path $Dir
+ }
+ set Dir [file dirname $Dir]
if {$Dir ni $::auto_path} {
lappend ::auto_path $Dir
}