[45036] trunk/base/src/port/port.tcl
perry at macports.org
perry at macports.org
Tue Jan 6 18:00:09 PST 2009
Revision: 45036
http://trac.macports.org/changeset/45036
Author: perry at macports.org
Date: 2009-01-06 18:00:09 -0800 (Tue, 06 Jan 2009)
Log Message:
-----------
port/port.tcl - Removed a needlessly nested if statement.
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2009-01-07 01:52:09 UTC (rev 45035)
+++ trunk/base/src/port/port.tcl 2009-01-07 02:00:09 UTC (rev 45036)
@@ -2253,10 +2253,8 @@
if {[info exists portinfo(vinfo)]} {
array set vinfo $portinfo(vinfo)
# Otherwise fall back to the old format.
- } else {
- if {[info exists portinfo(variant_desc)]} {
- array set vdescriptions $portinfo(variant_desc)
- }
+ } elseif {[info exists portinfo(variant_desc)]} {
+ array set vdescriptions $portinfo(variant_desc)
}
# print out all the variants
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090106/3d49b505/attachment.html>
More information about the macports-changes
mailing list