Changeset 42747


Ignore:
Timestamp:
Nov 30, 2008, 3:20:02 PM (12 years ago)
Author:
simon@…
Message:

base/src: Make sure the default port source is specified.

File:
1 edited

Legend:

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

    r42666 r42747  
    433433        }
    434434    }
     435    # Make sure the default port source is defined. Otherwise
     436    # [macports::getportresourcepath] fails when the first source doesn't
     437    # contain _resources.
     438    if {![info exists sources_default]} {
     439        return -code error "No default port source specified in $sources_conf"
     440    }
     441
    435442    if {![info exists sources]} {
    436443        if {[file isdirectory ports]} {
Note: See TracChangeset for help on using the changeset viewer.