summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-15 15:07:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-15 15:07:56 (GMT)
commit5eeecf6181bb38bb87f5d2443489e5dfc875e7a9 (patch)
tree29861e2c7a3ee74bc83a6fe539bd6713afa15bb3 /generic
parent76e88df0f7df0d886ef26fad352fe22ac87df18d (diff)
downloadtcl-5eeecf6181bb38bb87f5d2443489e5dfc875e7a9.zip
tcl-5eeecf6181bb38bb87f5d2443489e5dfc875e7a9.tar.gz
tcl-5eeecf6181bb38bb87f5d2443489e5dfc875e7a9.tar.bz2
Add "file join $grandParentDir tcl8.? library" as possible path for a valid init.tcl.
Some simplifications in use of test restrictions.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInterp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 1bfe76a..6983cc6 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -410,6 +410,7 @@ Tcl_Init(
" {file join $grandParentDir lib tcl[info tclversion]} \\\n"
" {file join $parentDir library} \\\n"
" {file join $grandParentDir library} \\\n"
+" {file join $grandParentDir tcl[info tclversion] library} \\\n"
" {file join $grandParentDir tcl[info patchlevel] library} \\\n"
" {\n"
"file join [file dirname $grandParentDir] tcl[info patchlevel] library}\n"