[47337] trunk/base/src/port1.0/portutil.tcl

raimue at macports.org raimue at macports.org
Wed Feb 25 20:03:01 PST 2009


Revision: 47337
          http://trac.macports.org/changeset/47337
Author:   raimue at macports.org
Date:     2009-02-25 20:03:01 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
port1.0/portutil.tcl:
Output debug message only when we are actually reading.
Second attempt, this is what I actually meant in r47329.

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-02-26 03:52:02 UTC (rev 47336)
+++ trunk/base/src/port1.0/portutil.tcl	2009-02-26 04:03:01 UTC (rev 47337)
@@ -559,9 +559,9 @@
     if {![info exists variant_descs_global($descfile)]} {
         set variant_descs_global($descfile) yes
 
-        ui_debug "Reading variant descriptions from $descfile"
+        if {[file exists $descfile]} {
+            ui_debug "Reading variant descriptions from $descfile"
 
-        if {[file exists $descfile]} {
             if {[catch {set fd [open $descfile r]} err]} {
                 ui_warn "Could not open global variant description file: $err"
                 return ""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090225/50f4d946/attachment-0001.html>


More information about the macports-changes mailing list