Ignore:
Timestamp:
Apr 8, 2015, 2:51:23 PM (5 years ago)
Author:
jmr@…
Message:

replace eval with {*} in the last few applicable places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/package1.0/portmpkg.tcl

    r119620 r134837  
    8787    # get the union of depends_run and depends_lib
    8888    set depends {}
    89     if {[info exists portinfo(depends_run)]} { eval "lappend depends $portinfo(depends_run)" }
    90     if {[info exists portinfo(depends_lib)]} { eval "lappend depends $portinfo(depends_lib)" }
     89    if {[info exists portinfo(depends_run)]} { lappend depends {*}$portinfo(depends_run) }
     90    if {[info exists portinfo(depends_lib)]} { lappend depends {*}$portinfo(depends_lib) }
    9191
    9292    foreach depspec $depends {
Note: See TracChangeset for help on using the changeset viewer.