Additional dirs in tcl_findLibrary
Closed / Rejected219348ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:11:06
OriginalBugID: 5594 RFE
Version: 8.3.1
SubmitDate: '2000-05-18'
LastModified: '2000-10-25'
Severity: LOW
Status: UnAssn
Submitter: techsupp
OS: Solaris
OSVersion: 2.5.1
Machine: SPARCstation20
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'
Name:
petrus vloet
CVS:
auto.tcl
CustomShell:
Null
DesiredBehavior:
tcl_findLibrary should work more instinctively so that $envVarName points to a directory containing a lot of subdirectories without having to define for each subdirectory a single environment variable.
In the future tcl_findDirectory might also support multiple paths included in the environment variable (similar to the environment variable $PATH).
PatchFiles:
Extend tcl_findLibrary in the following way:
if {[info exists env($enVarName)]} {
lappend dirs $env($enVarName)
lappend dirs [file join $env($envVarName) $basename$version
lappend dirs [file join $env($envVarName) $basename
}
dkf Ticket [219348ffff]: 1 change
[History diff]2001-01-31 17:33:35
dgp Ticket [219348ffff]: 1 change
[History diff]2001-02-08 08:28:58
dgp Ticket [219348ffff]: 1 change
[History diff]2001-04-04 04:54:04
dgpplain2001-08-27 08:31:54
Logged In: YES user_id=80530 See comments at FR 219309 for an explanation why supporting a multiple-directory search path value in the environment variable is not the right thing.
Log in (anonymous is fine) to add a comment.