[131294] trunk/dports/lang/perl5.16/Portfile

larryv at macports.org larryv at macports.org
Thu Jan 8 14:54:18 PST 2015


Revision: 131294
          https://trac.macports.org/changeset/131294
Author:   larryv at macports.org
Date:     2015-01-08 14:54:18 -0800 (Thu, 08 Jan 2015)
Log Message:
-----------
perl5.16: Use `ne` for string comparison

Modified Paths:
--------------
    trunk/dports/lang/perl5.16/Portfile

Modified: trunk/dports/lang/perl5.16/Portfile
===================================================================
--- trunk/dports/lang/perl5.16/Portfile	2015-01-08 22:53:20 UTC (rev 131293)
+++ trunk/dports/lang/perl5.16/Portfile	2015-01-08 22:54:18 UTC (rev 131294)
@@ -108,7 +108,7 @@
     # perl5 creates unversioned symlinks
     delete ${destroot}${prefix}/bin/perl
     foreach binFile [glob -directory "${destroot}${prefix}/bin" *] {
-        if {$binFile != "${destroot}${prefix}/bin/perl${version}"} {
+        if {$binFile ne "${destroot}${prefix}/bin/perl${version}"} {
             move ${binFile} ${binFile}-${branch}
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150108/8ab15db1/attachment.html>


More information about the macports-changes mailing list