Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 37503 for trunk/base/src

Show
Ignore:
Timestamp:
06/10/08 03:02:33 (6 months ago)
Author:
afb@…
Message:

stop abusing command_exec filter/redirect arguments for build nice/jobs, and improve debugging output (#15530)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portbuild.tcl

    r37070 r37503  
    4646# defaults 
    4747default build.dir {${workpath}/${worksrcdir}} 
    48 default build.cmd {[build_getnicevalue][build_getmaketype]} 
     48default build.cmd {[build_getmaketype]} 
    4949default build.nice {${buildnicevalue}} 
    5050default build.jobs {${buildmakejobs}} 
     
    144144 
    145145proc build_main {args} { 
    146     command_exec build "" [build_getmakejobs] 
     146    global build.cmd 
     147 
     148    set nice_prefix [build_getnicevalue] 
     149    set jobs_suffix [build_getmakejobs] 
     150 
     151    set realcmd ${build.cmd} 
     152    set build.cmd "$nice_prefix${build.cmd}$jobs_suffix" 
     153    command_exec build 
     154    set build.cmd ${realcmd} 
    147155    return 0 
    148156}