[55145] trunk/base/src/port1.0/portmain.tcl

jmr at macports.org jmr at macports.org
Thu Aug 6 20:15:14 PDT 2009


Revision: 55145
          http://trac.macports.org/changeset/55145
Author:   jmr at macports.org
Date:     2009-08-06 20:15:12 -0700 (Thu, 06 Aug 2009)
Log Message:
-----------
parentheses to disambiguiate operator ordering

Modified Paths:
--------------
    trunk/base/src/port1.0/portmain.tcl

Modified: trunk/base/src/port1.0/portmain.tcl
===================================================================
--- trunk/base/src/port1.0/portmain.tcl	2009-08-07 03:10:31 UTC (rev 55144)
+++ trunk/base/src/port1.0/portmain.tcl	2009-08-07 03:15:12 UTC (rev 55145)
@@ -134,7 +134,7 @@
 
 # if unable to write to workpath, implies running without either root privileges
 # or a shared directory owned by the group so use ~/.macports
-if { $euid != 0 && ([info exists workpath] && [file exists $workpath] && ![file writable $workpath]) || [info exists portdbpath] && ![file writable [file join $portdbpath build]] } {
+if { $euid != 0 && (([info exists workpath] && [file exists $workpath] && ![file writable $workpath]) || ([info exists portdbpath] && ![file writable [file join $portdbpath build]])) } {
 
     set username [uid_to_name [getuid]]
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090806/78b4bbe1/attachment.html>


More information about the macports-changes mailing list