Overview
| Artifact ID: | 57e678f090d8955d3daf06ba9a6b92e8d3ac15fc |
|---|---|
| Ticket: | 219375ffffffffffffffffffffffffffffffffff
Add local initialization script for Tcl. |
| User & Date: | nobody on 2000-10-26 05:11:49 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 5998 RFE Version: 8.1.1 SubmitDate: '2000-07-10' LastModified: '2000-10-25' Severity: LOW Status: UnAssn Submitter: techsupp OS: BSD OSVersion: BSD/OS 4.0.1 Machine: x86 pc architecture FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Robert Hare Extensions: BerkeleyDB.3.0, mpexpr1.0 DesiredBehavior: It would be nice to have the following code added to the init.tcl script: # Perform any local initialization. if {[file exists [file join [info library] init-local.tcl]]} { source [file join [info library] init-local.tcl] } This allows customized local initializations to be performed. In our case we want to add entries to the default auto_path so that packages we have installed can be found without having to tweak on the auto_path in every program. Patch: --- init.tcl.orig Tue Jun 15 08:28:19 1999 +++ init.tcl Fri Jul 7 11:10:00 2000 @@ -570,3 +570,9 @@ } } + + +# Perform any local initialization. +if {[file exists [file join [info library] init-local.tcl]]} { + source [file join [info library] init-local.tcl] +} PatchFiles: init.tcl - foundin changed to: "final: 8.1.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Add local initialization script for Tcl."
- type changed to: "RFE"