[38968] branches/gsoc08-privileges/base/src/port1.0/portutil.tcl

pmagrath at macports.org pmagrath at macports.org
Mon Aug 4 05:54:37 PDT 2008


Revision: 38968
          http://trac.macosforge.org/projects/macports/changeset/38968
Author:   pmagrath at macports.org
Date:     2008-08-04 05:54:36 -0700 (Mon, 04 Aug 2008)
Log Message:
-----------
Fix bug with errorisprivileges variables

Modified Paths:
--------------
    branches/gsoc08-privileges/base/src/port1.0/portutil.tcl

Modified: branches/gsoc08-privileges/base/src/port1.0/portutil.tcl
===================================================================
--- branches/gsoc08-privileges/base/src/port1.0/portutil.tcl	2008-08-04 11:44:55 UTC (rev 38967)
+++ branches/gsoc08-privileges/base/src/port1.0/portutil.tcl	2008-08-04 12:54:36 UTC (rev 38968)
@@ -1359,8 +1359,9 @@
 
 
 proc eval_targets {target} {
-    global targets target_state_fd portname
+    global targets target_state_fd portname errorisprivileges
     set dlist $targets
+    set errorisprivileges "no"
     
     # Select the subset of targets under $target
     if {$target != ""} {
@@ -1390,7 +1391,6 @@
     }
     
     # start gsoc08-privileges
-    global errorisprivileges
     if { $result == 1 && $errorisprivileges == "yes" } {
     	set result 2
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/954190c1/attachment.html 


More information about the macports-changes mailing list