Ignore:
Timestamp:
Mar 15, 2012, 12:25:48 AM (5 years ago)
Author:
cal@…
Message:

Cherry-pick warning about developer_dir pointing to non-existing path

This conflicted, because r89996 isn't in release2-0 yet.

Location:
branches/release_2_0/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/release_2_0/base

  • branches/release_2_0/base/src/macports1.0/macports.tcl

    r90693 r90805  
    899899    }
    900900
     901    if {[info exists developer_dir]} {
     902        if {$os_platform == "darwin" && ![file isdirectory $developer_dir]} {
     903            ui_warn "Your developer_dir setting in macports.conf points to a non-existing directory.\
     904                Since this is known to cause problems, please correct the setting or comment it and let\
     905                macports auto-discover the correct path."
     906        }
     907    }
     908
    901909    if {[getuid] == 0 && $os_major >= 11 && $os_platform == "darwin" && [vercmp $xcodeversion 4.3] >= 0} {
    902910        macports::copy_xcode_plist $env(HOME)
Note: See TracChangeset for help on using the changeset viewer.