Changeset eb559d7 in tol


Ignore:
Timestamp:
Dec 5, 2016, 11:27:22 AM (10 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
cc45a10
Parents:
4059600
Message:

Refs #1938
La versión de tolsh (ejecutable) y toltcl (paquete tcl) se gestionan desde CMakeLists.txt.
Se traslada la versión de tolsh.tcl (que estaba manual) a pkgIndex.tcl.in que usa lo definido en CMakeLists.txt.

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

Location:
toltcl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • toltcl/CMakeLists.txt

    r4059600 reb559d7  
    1212# The version number.
    1313set (TOLTCL_VERSION_MAJOR 3)
    14 set (TOLTCL_VERSION_MINOR 3)
     14set (TOLTCL_VERSION_MINOR 4)
    1515
    1616# look for tol
  • toltcl/library/pkgIndex.tcl.in

    r4059600 reb559d7  
    2828    [ string map [list %d $dir] {
    2929      source [ file join {%d} tolsh.tcl ]
     30      package provide TolshApp @TOLTCL_VERSION_MAJOR@.@TOLTCL_VERSION_MINOR@     
    3031    } ]
  • toltcl/library/tolsh.tcl

    r4059600 reb559d7  
    77###############################################################################
    88
    9 package provide TolshApp 3.3
     9#@ Se lleva al pkgIndex.tcl.in para gestionar mejor las versiones.
     10#@ package provide TolshApp 3.3
    1011
    1112###############################################################################
    … …  
    400401  #
    401402  if {$options(runmode) != "server" && $options(runmode) != "shared"} {
    402     package require -exact Toltcl 3.3
     403    package require Toltcl
    403404    #puts "tol::initkernel $options(lang) $options(vmode)"
    404405    tol::initkernel $options(lang) $options(vmode)
Note: See TracChangeset for help on using the changeset viewer.