[143936] trunk/dports/www/apache2/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 27 20:59:28 PST 2015


Revision: 143936
          https://trac.macports.org/changeset/143936
Author:   ryandesign at macports.org
Date:     2015-12-27 20:59:28 -0800 (Sun, 27 Dec 2015)
Log Message:
-----------
apache2: use expansion operator instead of eval

Modified Paths:
--------------
    trunk/dports/www/apache2/Portfile

Modified: trunk/dports/www/apache2/Portfile
===================================================================
--- trunk/dports/www/apache2/Portfile	2015-12-28 04:58:06 UTC (rev 143935)
+++ trunk/dports/www/apache2/Portfile	2015-12-28 04:59:28 UTC (rev 143936)
@@ -108,9 +108,9 @@
 
 post-destroot {
     set confDir ${destroot}${prefix}/${name}/conf
-    eval delete ${destroot}${prefix}/${name}/bin/envvars \
+    delete ${destroot}${prefix}/${name}/bin/envvars \
                 ${confDir}/httpd.conf \
-                [glob -directory ${confDir}/extra *.conf]
+                {*}[glob -directory ${confDir}/extra *.conf]
 
     move ${destroot}${prefix}/${name}/htdocs/index.html ${destroot}${prefix}/${name}/htdocs/index.html.sample
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151227/4633605f/attachment-0001.html>


More information about the macports-changes mailing list