summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorandreas_kupries <andreas_kupries@noemail.net>2004-10-26 19:44:15 (GMT)
committerandreas_kupries <andreas_kupries@noemail.net>2004-10-26 19:44:15 (GMT)
commitd34e7f01feb706c7d32d3f0da86623d61c51edd8 (patch)
tree4ba83040c8d2b1925501d8f4222eb407d1648c0f /library
parente7552cd177d37ede71d5d6dc2b46a564a17797d3 (diff)
downloadtcl-d34e7f01feb706c7d32d3f0da86623d61c51edd8.zip
tcl-d34e7f01feb706c7d32d3f0da86623d61c51edd8.tar.gz
tcl-d34e7f01feb706c7d32d3f0da86623d61c51edd8.tar.bz2
* library/tm.tcl (::tcl::tm::Defaults): Added a second [file
dirname] around the location of the executable. This fixes [Tcl SF Bug 1038705]. Instable of a bogus "foo/bin/lib" we now have the correct "foo/lib" as a base path for modules. FossilOrigin-Name: daaaa9dea489f3fbe419f1e47f6b9fb19025262c
Diffstat (limited to 'library')
-rw-r--r--library/tm.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/tm.tcl b/library/tm.tcl
index 37f03cb..cfed444 100644
--- a/library/tm.tcl
+++ b/library/tm.tcl
@@ -316,7 +316,7 @@ proc ::tcl::tm::Defaults {} {
# something other than [::list] in this namespace.
roots [::list \
[file dirname [info library]] \
- [file join [file dirname $exe] lib] \
+ [file join [file dirname [file dirname $exe]] lib] \
]
if {$tcl_platform(platform) eq "windows"} {