Ignore:
Timestamp:
Jun 18, 2010, 9:53:59 PM (7 years ago)
Author:
jmr@…
Message:

fix handling of distfiles with tags that have no corresponding URL (#25332)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/fetch_common.tcl

    r66931 r68965  
    219219            if {$url_var != $default_listvar} {
    220220                ui_error [format [msgcat::mc "No defined site for tag: %s, using $default_listvar"] $url_var]
    221                 set urlmap($url_var) [set $default_listvar]
     221                set urlmap($url_var) $urlmap($default_listvar)
    222222            } else {
    223223                set urlmap($url_var) {}
     
    295295        if {![info exists urlmap($url_var)]} {
    296296            ui_error [format [msgcat::mc "No defined site for tag: %s, using master_sites"] $url_var]
    297             set urlmap($url_var) $master_sites
     297            set urlmap($url_var) $urlmap(master_sites)
    298298        }
    299299        foreach site $urlmap($url_var) {
Note: See TracChangeset for help on using the changeset viewer.