[142586] trunk/dports/php/phpsh/Portfile

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


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

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

Modified: trunk/dports/php/phpsh/Portfile
===================================================================
--- trunk/dports/php/phpsh/Portfile	2015-11-16 14:05:53 UTC (rev 142585)
+++ trunk/dports/php/phpsh/Portfile	2015-11-16 14:12:35 UTC (rev 142586)
@@ -28,9 +28,9 @@
 patchfiles              src-__init__.py.diff
 
 pre-patch {
-    eval reinplace -locale C s|/etc/phpsh|${prefix}/etc/phpsh|g \
+    reinplace -locale C s|/etc/phpsh|${prefix}/etc/phpsh|g \
         ${worksrcpath}/setup.py ${worksrcpath}/rc.example.php \
-        [glob ${worksrcpath}/src/*] [glob ${worksrcpath}/src/doc/*]
+        {*}[glob ${worksrcpath}/src/*] {*}[glob ${worksrcpath}/src/doc/*]
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/1cbefca4/attachment.html>


More information about the macports-changes mailing list