[142583] trunk/dports/lang/php/Portfile

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


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

Modified Paths:
--------------
    trunk/dports/lang/php/Portfile

Modified: trunk/dports/lang/php/Portfile
===================================================================
--- trunk/dports/lang/php/Portfile	2015-11-16 13:58:56 UTC (rev 142582)
+++ trunk/dports/lang/php/Portfile	2015-11-16 14:01:39 UTC (rev 142583)
@@ -311,7 +311,7 @@
         if {[vercmp ${branch} 5.3] >= 0} {
             # Copy mysqlnd headers.
             xinstall -d ${destroot}${prefix}/include/${php}/php/ext/mysqlnd
-            eval xinstall -m 644 [glob ${worksrcpath}/ext/mysqlnd/*.h] ${destroot}${prefix}/include/${php}/php/ext/mysqlnd
+            xinstall -m 644 {*}[glob ${worksrcpath}/ext/mysqlnd/*.h] ${destroot}${prefix}/include/${php}/php/ext/mysqlnd
         }
     }
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/b9c61c57/attachment.html>


More information about the macports-changes mailing list