summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-12-11 08:43:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-12-11 08:43:28 (GMT)
commit189e7fe97b73e736c71c8bfd54f3cb3121697f41 (patch)
treebfc0f3a27a8025e03daf6da5eeb79a13f33e1e55 /library/init.tcl
parentd2fb846f98f47e4199b988b558b8bde42e7b1923 (diff)
downloadtcl-189e7fe97b73e736c71c8bfd54f3cb3121697f41.zip
tcl-189e7fe97b73e736c71c8bfd54f3cb3121697f41.tar.gz
tcl-189e7fe97b73e736c71c8bfd54f3cb3121697f41.tar.bz2
Experiments with [http://semver.org/|Semantic Versioning] in Tcl. (Don't look!)
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 85900d2..0ebdb3a 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.6.4
+package require -exact Tcl 8.7a0
# Compute the auto path to use in this interpreter.
# The values on the path come from several locations:
@@ -57,6 +57,11 @@ namespace eval tcl {
if {$Dir ni $::auto_path} {
lappend ::auto_path $Dir
}
+ set Dir [file join [file dirname [file dirname \
+ [info nameofexecutable]]] lib tcl8]
+ if {$Dir ni $::auto_path} {
+ lappend ::auto_path $Dir
+ }
catch {
foreach Dir $::tcl_pkgPath {
if {$Dir ni $::auto_path} {