[64562] trunk/base/src/port/port.tcl
raimue at macports.org
raimue at macports.org
Tue Mar 9 05:06:03 PST 2010
Revision: 64562
http://trac.macports.org/changeset/64562
Author: raimue at macports.org
Date: 2010-03-09 05:06:01 -0800 (Tue, 09 Mar 2010)
Log Message:
-----------
port/port.tcl: Output error message when 'port gohome' fails
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2010-03-09 09:54:32 UTC (rev 64561)
+++ trunk/base/src/port/port.tcl 2010-03-09 13:06:01 UTC (rev 64562)
@@ -2949,7 +2949,11 @@
# Try to open a browser to the homepage for the given port
if { $homepage != "" } {
- system "${macports::autoconf::open_path} '$homepage'"
+ if {[catch {system "${macports::autoconf::open_path} '$homepage'"} result]} {
+ global errorInfo
+ ui_debug "$errorInfo"
+ break_softcontinue "unable to invoke browser using ${macports::autoconf::open_path}: $result" 1 status
+ }
} else {
ui_error [format "No homepage for %s" $portname]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100309/9aa6e848/attachment.html>
More information about the macports-changes
mailing list