Check-in [e5eb66b68e]
Overview
Comment:Updated to set Tcl Modules path to only inside the TclKit
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | set-tm-paths
Files: files | file ages | folders
SHA1:e5eb66b68e63a815f7f724b2c998084554df7391
User & Date: rkeene on 2017-01-27 16:41:29
Other Links: manifest | tags
Context
2017-02-20
14:54
Updated to only set the Tcl Module path if such a thing exists Closed-Leaf check-in: 4b39e3862d user: rkeene tags: set-tm-paths
2017-01-27
16:41
Updated to set Tcl Modules path to only inside the TclKit check-in: e5eb66b68e user: rkeene tags: set-tm-paths
2016-12-28
21:42
Updated to NSF 2.1.0 release check-in: e0ab1dd8a7 user: ssoberni tags: trunk
Changes

Modified kitsh/buildsrc/kitsh-0.0/boot.tcl from [f2b9d8ad84] to [8c1638de2d].

   150    150   
   151    151   	# Perform expected initialization
   152    152   	uplevel #0 [list source [file join $tcl_library init.tcl]]
   153    153     
   154    154   	# reset auto_path, so that init.tcl's search outside of tclkit is cancelled
   155    155   	set auto_path $tcl_libPath
   156    156   
          157  +	# Update Tcl Module system as well
          158  +	tcl::tm::path remove {*}[tcl::tm::path list]
          159  +	tcl::tm::roots [file join $::starkit::tclkitroot lib]
          160  +
   157    161   	if {$::TCLKIT_TYPE == "kitdll"} {
   158    162   		# Set a maximum seek to avoid reading the entire file looking for a
   159    163   		# zip header
   160    164   		catch { 
   161    165   			package require vfs::zip
   162    166   			set ::zip::max_header_seek 8192
   163    167   		}