[75820] trunk/base/src/port1.0/portlint.tcl

jmr at macports.org jmr at macports.org
Wed Feb 9 08:43:18 PST 2011


Revision: 75820
          http://trac.macports.org/changeset/75820
Author:   jmr at macports.org
Date:     2011-02-09 08:43:17 -0800 (Wed, 09 Feb 2011)
Log Message:
-----------
fix syntax in portlint

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

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2011-02-09 16:42:53 UTC (rev 75819)
+++ trunk/base/src/port1.0/portlint.tcl	2011-02-09 16:43:17 UTC (rev 75820)
@@ -269,7 +269,7 @@
         }
 
         if {$hashline &&
-            ![string match \\\\ [string index $line [string length $line]-1]]} {
+            ![string match \\\\ [string index $line end]]} {
                 # if the last character is not a backslash we're done with
                 # line skipping
                 set hashline false
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110209/afa82eb2/attachment-0001.html>


More information about the macports-changes mailing list