Changeset 29669 for trunk/base


Ignore:
Timestamp:
Oct 4, 2007, 4:33:25 PM (12 years ago)
Author:
jmpp@…
Message:

Unbreak reading the user specific macports.conf file by evaluating the macports_user_dir variable, not erroneously passing the 'macports_user_dir' string to the tcl file(n) command.

This has been broken for ages and only one person reported it in #12250 but no one else complained, so I guess not many use this feature. Thanks to 'joachim.kuebart@…' for noticing and for the patch.

Closes #12250

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r29522 r29669  
    357357        lappend conf_files ${PORTSRC}
    358358    }
    359     if { [file isdirectory macports_user_dir] } {
     359    if { [file isdirectory $macports_user_dir] } {
    360360        lappend conf_files "${macports_user_dir}/macports.conf"
    361361    }
Note: See TracChangeset for help on using the changeset viewer.