Diff

Differences From Artifact [dbdef8ce98]:

To Artifact [f8b2da0698]:


    55     55   		}
    56     56   		if {[llength $argv] > 1} {
    57     57   			set cpu [lindex $argv 1]
    58     58   		}
    59     59   
    60     60   		puts "Extensions available for OS=$os, CPU=$cpu:"
    61     61   
    62         -		set extsinfo [::teapotclient::get_extensions $teapotservers $os $cpu]
    63         -		foreach {ext extinfo} $extsinfo {
           62  +		array set exts [::teapotclient::get_extensions $teapotservers $os $cpu]
           63  +		foreach ext [lsort -dictionary [array names exts]] {
           64  +			set extinfo $exts($ext)
           65  +
    64     66   			set extvers [list]
    65     67   			foreach extinfoitem $extinfo {
    66     68   				set extinfoitemvers [lindex $extinfoitem 0]
    67     69   				if {[lsearch -exact $extvers $extinfoitemvers] == -1} {
    68     70   					lappend extvers $extinfoitemvers
    69     71   				}
    70     72   			}