[119654] trunk/base/src/macports1.0/macports_dlist.tcl
jmr at macports.org
jmr at macports.org
Fri May 2 19:03:03 PDT 2014
Revision: 119654
https://trac.macports.org/changeset/119654
Author: jmr at macports.org
Date: 2014-05-02 19:03:03 -0700 (Fri, 02 May 2014)
Log Message:
-----------
fix incorrect change to logic in dlist_eval (testcond can return -1)
Modified Paths:
--------------
trunk/base/src/macports1.0/macports_dlist.tcl
Modified: trunk/base/src/macports1.0/macports_dlist.tcl
===================================================================
--- trunk/base/src/macports1.0/macports_dlist.tcl 2014-05-03 01:58:45 UTC (rev 119653)
+++ trunk/base/src/macports1.0/macports_dlist.tcl 2014-05-03 02:03:03 UTC (rev 119654)
@@ -294,7 +294,7 @@
# can evaluate to true.
if {$testcond ne ""} {
foreach ditem $dlist {
- if {[expr [$testcond $ditem]]} {
+ if {[$testcond $ditem] == 1} {
foreach token [ditem_key $ditem provides] {
set statusdict($token) 1
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140502/7f711c28/attachment.html>
More information about the macports-changes
mailing list