Changeset 847399e in tol


Ignore:
Timestamp:
Nov 16, 2011, 9:42:23 AM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
9f0fc0f
Parents:
e350210
Message:

include ActiveTcl lib in auto_path if it exists

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3846 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolsh/tolsh.vfs/lib/app-tolsh/tolsh.tcl

    re350210 r847399e  
    296296      if {[llength $pkg_dirs]} {
    297297        lappend ::auto_path [file normalize $libdir]
    298       } elseif { $::tcl_platform(platform) eq "unix" &&
    299           $::tcl_platform(machine) eq "x86_64" } {
     298      } elseif { $::tcl_platform(platform) eq "unix" } {
     299          set activeTcl "/opt/ActiveTcl-8.4/lib"
     300          if { [ file exists $activeTcl ] &&
     301               [ lsearch $::auto_path $activeTcl ] == -1 } {
     302            lappend ::auto_path $activeTcl
     303          }
    300304          if { [ lsearch $::auto_path "/usr/lib" ] == -1 } {
    301305            lappend ::auto_path "/usr/lib"
Note: See TracChangeset for help on using the changeset viewer.