Ignore:
Timestamp:
May 25, 2015, 4:31:24 AM (4 years ago)
Author:
larryv@…
Message:

select-1.0: Sundry non-functional changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/select-1.0.tcl

    r100379 r136720  
    3636options select.group select.file
    3737
    38 default select.group ""
    39 default select.file ""
     38default select.group {}
     39default select.file {}
    4040
    4141namespace eval select {}
    4242
    4343proc select::install {group file {name ""}} {
    44     global prefix destroot frameworks_dir applications_dir developer_dir
     44    global applications_dir destroot developer_dir \
     45            frameworks_dir prefix
    4546
    4647    # Optional argument specifies file name
    47     if {${name} == ""} {
    48         set name [file tail ${file}]
     48    if {$name eq ""} {
     49        set name [file tail $file]
    4950    }
    5051
     
    5960
    6061post-destroot {
    61     if {${select.file} != "" && ${select.group} != ""} {
     62    if {${select.file} ne "" && ${select.group} ne ""} {
    6263        select::install ${select.group} ${select.file}
    6364    } else {
Note: See TracChangeset for help on using the changeset viewer.