[128095] trunk/dports/sysutils/getopt/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 12 21:40:05 PST 2014


Revision: 128095
          https://trac.macports.org/changeset/128095
Author:   ryandesign at macports.org
Date:     2014-11-12 21:40:05 -0800 (Wed, 12 Nov 2014)
Log Message:
-----------
getopt: use eq for string comparison

Modified Paths:
--------------
    trunk/dports/sysutils/getopt/Portfile

Modified: trunk/dports/sysutils/getopt/Portfile
===================================================================
--- trunk/dports/sysutils/getopt/Portfile	2014-11-13 05:01:22 UTC (rev 128094)
+++ trunk/dports/sysutils/getopt/Portfile	2014-11-13 05:40:05 UTC (rev 128095)
@@ -35,7 +35,7 @@
 post-extract {
     # 1.1.5 ships with ELF .o files
     fs-traverse f ${worksrcpath} {
-        if {[file isfile ${f}] && [file extension ${f}] == ".o"} {
+        if {[file isfile ${f}] && [file extension ${f}] eq ".o"} {
             delete ${f}
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141112/4a43ae46/attachment.html>


More information about the macports-changes mailing list