[32514] trunk/base/src/macports1.0/macports.tcl
eridius at macports.org
eridius at macports.org
Sat Jan 5 17:20:27 PST 2008
Revision: 32514
http://trac.macosforge.org/projects/macports/changeset/32514
Author: eridius at macports.org
Date: 2008-01-05 17:20:25 -0800 (Sat, 05 Jan 2008)
Log Message:
-----------
Replace the ui_channels if statement with a try-catch to try and fix the mysterious 10.3 issue
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2008-01-05 23:04:50 UTC (rev 32513)
+++ trunk/base/src/macports1.0/macports.tcl 2008-01-06 01:20:25 UTC (rev 32514)
@@ -100,9 +100,9 @@
proc macports::ui_init {priority message} {
# Get the list of channels.
- if {[llength [info commands ui_channels]] > 0} {
+ try {
set channels [ui_channels $priority]
- } else {
+ } catch * {
set channels [ui_channels_default $priority]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080105/b09ac17d/attachment.html
More information about the macports-changes
mailing list