summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 13a4300..96b9f12 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -836,3 +836,7 @@ proc tcl::CopyDirectory {action src dest} {
}
return
}
+if {[file exists [file join $::tcl_library pkgIndex.tcl]]} {
+ set dir $::tcl_library
+ source [file join $::tcl_library pkgIndex.tcl]
+}