[49085] trunk/base/src/port1.0/portutil.tcl
raimue at macports.org
raimue at macports.org
Fri Apr 3 02:04:10 PDT 2009
Revision: 49085
http://trac.macports.org/changeset/49085
Author: raimue at macports.org
Date: 2009-04-03 02:04:08 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
port1.0/portutil.tcl:
If something breaks while running a target, provide a backtrace if debug mode
is enabled.
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2009-04-03 08:21:47 UTC (rev 49084)
+++ trunk/base/src/port1.0/portutil.tcl 2009-04-03 09:04:08 UTC (rev 49085)
@@ -1434,7 +1434,9 @@
}
} else {
if {$errorisprivileges != "yes"} {
+ global errorInfo
ui_error "Target $name returned: $errstr"
+ ui_debug "Backtrace: $errorInfo"
} else {
ui_msg "Target $name returned: $errstr"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/c176c659/attachment.html>
More information about the macports-changes
mailing list