[64007] trunk/base/src/port1.0/portutil.tcl
jmr at macports.org
jmr at macports.org
Fri Feb 19 22:22:27 PST 2010
Revision: 64007
http://trac.macports.org/changeset/64007
Author: jmr at macports.org
Date: 2010-02-19 22:22:23 -0800 (Fri, 19 Feb 2010)
Log Message:
-----------
print error message in eval_targets when registry_activate fails
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2010-02-20 06:00:51 UTC (rev 64006)
+++ trunk/base/src/port1.0/portutil.tcl 2010-02-20 06:22:23 UTC (rev 64007)
@@ -1475,7 +1475,12 @@
if {[info exists ports_dryrun] && $ports_dryrun == "yes"} {
ui_msg "For $name: skipping $target (dry run)"
} else {
- registry_activate $name ${version}_${revision}${portvariants} [array get user_options]
+ if {[catch {registry_activate $name ${version}_${revision}${portvariants} [array get user_options]} result]} {
+ global errorInfo
+ ui_debug "$errorInfo"
+ ui_error "activating $name @${version}_${revision}${portvariants} failed: $result"
+ return 1
+ }
}
}
return 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100219/3958cfae/attachment.html>
More information about the macports-changes
mailing list