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

raimue at macports.org raimue at macports.org
Wed Feb 25 18:08:28 PST 2009


Revision: 47329
          http://trac.macports.org/changeset/47329
Author:   raimue at macports.org
Date:     2009-02-25 18:08:27 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
port1.0/portutil.tcl:
Output debug message only when we are actually reading

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 01:57:49 UTC (rev 47328)
+++ trunk/base/src/port1.0/portutil.tcl	2009-02-26 02:08:27 UTC (rev 47329)
@@ -556,11 +556,11 @@
 proc load_variant_desc_file {descfile} {
     global variant_descs_global
 
-    ui_debug "Reading variant descriptions from $descfile"
-
     if {![info exists variant_descs_global($descfile)]} {
         set variant_descs_global($descfile) yes
 
+        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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090225/4e4a4b90/attachment.html>


More information about the macports-changes mailing list