That's rather interesting. The missing command name has changed.
Looking a second time, ui_prefix is actually done the same way as
ui_channels, with an if-else statement. It's actually just a about 10
lines after the ui_channels block. I'm going to make the same change
there and see if that helps. Here's the diff:
Index: src/macports1.0/macports.tcl
===================================================================
--- src/macports1.0/macports.tcl (revision 32524)
+++ src/macports1.0/macports.tcl (revision 32525)
@@ -111,9 +111,9 @@
if {$nbchans == 0} {
proc ::ui_$priority {str} {}
} else {
- if {[llength [info commands ui_prefix]] > 0} {
+ try {
set prefix [ui_prefix $priority]
- } else {
+ } catch * {
set prefix [ui_prefix_default $priority]
}
On Jan 6, 2008, at 10:37 AM, Chris Janton wrote:
invalid command name "ui_prefix"
--
Kevin Ballard
http://kevin.sb.org
[EMAIL PROTECTED]
http://www.tildesoft.com
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users