Changeset da1fbea in tol for tolsh/tolsh.vfs


Ignore:
Timestamp:
Sep 15, 2011, 1:08:25 PM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
bfbdcb1
Parents:
f0a733dd
Message:

just formating

refs #1305

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

File:
1 edited

Legend:

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

    rf0a733dd rda1fbea  
    231231    -i file  --> include a file but not initLibrary
    232232    -np      --> do not load _iniproject.tol
    233     -c"..."  --> compile a tol expression
    234233    -c "..." --> compile a tol expression
    235234    -v?A?    --> enable all output
    … …  
    303302          }
    304303      } else {
    305           set tclsh [auto_execok tclsh]
    306           if {![catch {
    307             exec echo puts {$::auto_path} | $tclsh
    308           } ext_auto_path]} {
    309             foreach p $ext_auto_path {
    310               if {[lsearch $::auto_path $p]==-1} {
    311                 lappend ::auto_path $p
    312               }
     304        set tclsh [auto_execok tclsh]
     305        if {![catch {
     306          exec echo puts {$::auto_path} | $tclsh
     307        } ext_auto_path]} {
     308          foreach p $ext_auto_path {
     309            if {[lsearch $::auto_path $p]==-1} {
     310              lappend ::auto_path $p
    313311            }
    314312          }
    315       }
     313        }
     314      }
    316315      tclPkgUnknown ${pkg}+1 ""
    317316    } else {
    … …  
    576575
    577576proc logtmp { msg } {
    578   #return
     577  return
    579578  set user $::tcl_platform(user)
    580579  set fd [ open "/tmp/tolsh.${user}.log" a ]
Note: See TracChangeset for help on using the changeset viewer.