[66783] trunk/base/src/macports1.0/macports.tcl
raimue at macports.org
raimue at macports.org
Thu Apr 22 16:25:38 PDT 2010
Revision: 66783
http://trac.macports.org/changeset/66783
Author: raimue at macports.org
Date: 2010-04-22 16:25:35 -0700 (Thu, 22 Apr 2010)
Log Message:
-----------
macport1.0: Do not report a log file path if logging is disabled, fixes #24040
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2010-04-22 21:54:52 UTC (rev 66782)
+++ trunk/base/src/macports1.0/macports.tcl 2010-04-22 23:25:35 UTC (rev 66783)
@@ -1493,8 +1493,8 @@
return 0
} else {
# An error occurred.
- global ::debuglogname
- if {[info exists ::debuglogname]} {
+ global ::logenabled ::debuglogname
+ if {$::logenabled && [info exists ::debuglogname]} {
ui_msg "Log for $portname is at: $::debuglogname"
}
macports::pop_log
@@ -1615,8 +1615,8 @@
$workername eval eval_targets clean
}
- global ::debuglogname
- if {[info exists ::debuglogname]} {
+ global ::logenabled ::debuglogname
+ if {$::logenabled && [info exists ::debuglogname]} {
if {$result != 0 && ![macports::ui_isset ports_quiet]} {
ui_msg "Log for $portname is at: $::debuglogname"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100422/4a0ff47c/attachment.html>
More information about the macports-changes
mailing list