[142584] trunk/dports/archivers/zlib/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 06:22:35 PST 2015


Revision: 142584
          https://trac.macports.org/changeset/142584
Author:   ryandesign at macports.org
Date:     2015-11-16 06:02:13 -0800 (Mon, 16 Nov 2015)
Log Message:
-----------
zlib: use expansion operator instead of eval

Modified Paths:
--------------
    trunk/dports/archivers/zlib/Portfile

Modified: trunk/dports/archivers/zlib/Portfile
===================================================================
--- trunk/dports/archivers/zlib/Portfile	2015-11-16 14:01:39 UTC (rev 142583)
+++ trunk/dports/archivers/zlib/Portfile	2015-11-16 14:02:13 UTC (rev 142584)
@@ -54,7 +54,7 @@
     
     set examplesdir ${prefix}/share/examples/${name}
     xinstall -d ${destroot}${examplesdir}
-    eval xinstall -m 0644 [glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir}
+    xinstall -m 0644 {*}[glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir}
 }
 
 livecheck.type          regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/093d723b/attachment.html>


More information about the macports-changes mailing list